You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/03/07 20:46:16 UTC
[airflow] 03/04: Revert "Google have re-worked their docs site ane appear not publish objects.inv (#28834)" (#29543)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 83779d8e5ef1db447f9db26221d8276a69bb1777
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Feb 14 21:15:11 2023 +0100
Revert "Google have re-worked their docs site ane appear not publish objects.inv (#28834)" (#29543)
This reverts commit 44d93bea3adbe9429b6fdee14de31f80ac51c3bb.
Google re-published the .inv files after deleting them in January.
Details in https://github.com/googleapis/google-cloud-python/issues/10814
(cherry picked from commit c2c27c34fc76db7bface94affacc82b0d1a34d92)
---
docs/conf.py | 35 +++++++++++++++++++++++++
docs/exts/docs_build/third_party_inventories.py | 24 +++++++++++++++++
docs/spelling_wordlist.txt | 8 ------
3 files changed, 59 insertions(+), 8 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 5f5e4c3a5f..f55b954d5c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -634,6 +634,41 @@ intersphinx_mapping = {
"sqlalchemy",
]
}
+if PACKAGE_NAME in ("apache-airflow-providers-google", "apache-airflow"):
+ intersphinx_mapping.update(
+ {
+ pkg_name: (
+ f"{THIRD_PARTY_INDEXES[pkg_name]}/",
+ (f"{INVENTORY_CACHE_DIR}/{pkg_name}/objects.inv",),
+ )
+ for pkg_name in [
+ "google-api-core",
+ "google-cloud-automl",
+ "google-cloud-bigquery",
+ "google-cloud-bigquery-datatransfer",
+ "google-cloud-bigquery-storage",
+ "google-cloud-bigtable",
+ "google-cloud-container",
+ "google-cloud-core",
+ "google-cloud-datacatalog",
+ "google-cloud-datastore",
+ "google-cloud-dlp",
+ "google-cloud-kms",
+ "google-cloud-language",
+ "google-cloud-monitoring",
+ "google-cloud-pubsub",
+ "google-cloud-redis",
+ "google-cloud-spanner",
+ "google-cloud-speech",
+ "google-cloud-storage",
+ "google-cloud-tasks",
+ "google-cloud-texttospeech",
+ "google-cloud-translate",
+ "google-cloud-videointelligence",
+ "google-cloud-vision",
+ ]
+ }
+ )
# -- Options for sphinx.ext.viewcode -------------------------------------------
# See: https://www.sphinx-doc.org/es/master/usage/extensions/viewcode.html
diff --git a/docs/exts/docs_build/third_party_inventories.py b/docs/exts/docs_build/third_party_inventories.py
index 720af261b5..7ac33a5333 100644
--- a/docs/exts/docs_build/third_party_inventories.py
+++ b/docs/exts/docs_build/third_party_inventories.py
@@ -27,4 +27,28 @@ THIRD_PARTY_INDEXES = {
"python": "https://docs.python.org/3",
"requests": "https://requests.readthedocs.io/en/stable",
"sqlalchemy": "https://docs.sqlalchemy.org/en/latest",
+ "google-api-core": "https://googleapis.dev/python/google-api-core/latest",
+ "google-cloud-automl": "https://googleapis.dev/python/automl/latest",
+ "google-cloud-bigquery": "https://googleapis.dev/python/bigquery/latest",
+ "google-cloud-bigquery-datatransfer": "https://googleapis.dev/python/bigquerydatatransfer/latest",
+ "google-cloud-bigquery-storage": "https://googleapis.dev/python/bigquerystorage/latest",
+ "google-cloud-bigtable": "https://googleapis.dev/python/bigtable/latest",
+ "google-cloud-container": "https://googleapis.dev/python/container/latest",
+ "google-cloud-core": "https://googleapis.dev/python/google-cloud-core/latest",
+ "google-cloud-datacatalog": "https://googleapis.dev/python/datacatalog/latest",
+ "google-cloud-datastore": "https://googleapis.dev/python/datastore/latest",
+ "google-cloud-dlp": "https://googleapis.dev/python/dlp/latest",
+ "google-cloud-kms": "https://googleapis.dev/python/cloudkms/latest",
+ "google-cloud-language": "https://googleapis.dev/python/language/latest",
+ "google-cloud-monitoring": "https://googleapis.dev/python/monitoring/latest",
+ "google-cloud-pubsub": "https://googleapis.dev/python/pubsub/latest",
+ "google-cloud-redis": "https://googleapis.dev/python/redis/latest",
+ "google-cloud-spanner": "https://googleapis.dev/python/spanner/latest",
+ "google-cloud-speech": "https://googleapis.dev/python/speech/latest",
+ "google-cloud-storage": "https://googleapis.dev/python/storage/latest",
+ "google-cloud-tasks": "https://googleapis.dev/python/cloudtasks/latest",
+ "google-cloud-texttospeech": "https://googleapis.dev/python/texttospeech/latest",
+ "google-cloud-translate": "https://googleapis.dev/python/translation/latest",
+ "google-cloud-videointelligence": "https://googleapis.dev/python/videointelligence/latest",
+ "google-cloud-vision": "https://googleapis.dev/python/vision/latest",
}
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
index 5a62b70939..3c3b855133 100644
--- a/docs/spelling_wordlist.txt
+++ b/docs/spelling_wordlist.txt
@@ -850,11 +850,8 @@ LineItem
lineterminator
linter
linux
-ListColumnSpecsPager
-ListDatasetsPager
ListGenerator
ListInfoTypesResponse
-ListTableSpecsPager
Liveness
liveness
livy
@@ -1352,8 +1349,6 @@ ssm
Stackdriver
stackdriver
stacktrace
-Standarization
-StartManualTransferRunsResponse
starttls
StatefulSet
StatefulSets
@@ -1420,7 +1415,6 @@ symlink
symlinking
symlinks
sync'ed
-SynthesizeSpeechResponse
sys
syspath
Systemd
@@ -1492,8 +1486,6 @@ tooltip
tooltips
traceback
tracebacks
-TransferConfig
-TransferRun
travis
triage
triaging