Skip to content

Commit c2c27c3

Browse files
authored
Revert "Google have re-worked their docs site ane appear not publish objects.inv (#28834)" (#29543)
This reverts commit 44d93be. Google re-published the .inv files after deleting them in January. Details in googleapis/google-cloud-python#10814
1 parent 0caf410 commit c2c27c3

File tree

3 files changed

+59
-7
lines changed

3 files changed

+59
-7
lines changed

docs/conf.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,41 @@ def _get_params(root_schema: dict, prefix: str = "", default_section: str = "")
636636
"sqlalchemy",
637637
]
638638
}
639+
if PACKAGE_NAME in ("apache-airflow-providers-google", "apache-airflow"):
640+
intersphinx_mapping.update(
641+
{
642+
pkg_name: (
643+
f"{THIRD_PARTY_INDEXES[pkg_name]}/",
644+
(f"{INVENTORY_CACHE_DIR}/{pkg_name}/objects.inv",),
645+
)
646+
for pkg_name in [
647+
"google-api-core",
648+
"google-cloud-automl",
649+
"google-cloud-bigquery",
650+
"google-cloud-bigquery-datatransfer",
651+
"google-cloud-bigquery-storage",
652+
"google-cloud-bigtable",
653+
"google-cloud-container",
654+
"google-cloud-core",
655+
"google-cloud-datacatalog",
656+
"google-cloud-datastore",
657+
"google-cloud-dlp",
658+
"google-cloud-kms",
659+
"google-cloud-language",
660+
"google-cloud-monitoring",
661+
"google-cloud-pubsub",
662+
"google-cloud-redis",
663+
"google-cloud-spanner",
664+
"google-cloud-speech",
665+
"google-cloud-storage",
666+
"google-cloud-tasks",
667+
"google-cloud-texttospeech",
668+
"google-cloud-translate",
669+
"google-cloud-videointelligence",
670+
"google-cloud-vision",
671+
]
672+
}
673+
)
639674

640675
# -- Options for sphinx.ext.viewcode -------------------------------------------
641676
# See: https://www.sphinx-doc.org/es/master/usage/extensions/viewcode.html

docs/exts/docs_build/third_party_inventories.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,28 @@
2727
"python": "https://docs.python.org/3",
2828
"requests": "https://requests.readthedocs.io/en/stable",
2929
"sqlalchemy": "https://docs.sqlalchemy.org/en/latest",
30+
"google-api-core": "https://googleapis.dev/python/google-api-core/latest",
31+
"google-cloud-automl": "https://googleapis.dev/python/automl/latest",
32+
"google-cloud-bigquery": "https://googleapis.dev/python/bigquery/latest",
33+
"google-cloud-bigquery-datatransfer": "https://googleapis.dev/python/bigquerydatatransfer/latest",
34+
"google-cloud-bigquery-storage": "https://googleapis.dev/python/bigquerystorage/latest",
35+
"google-cloud-bigtable": "https://googleapis.dev/python/bigtable/latest",
36+
"google-cloud-container": "https://googleapis.dev/python/container/latest",
37+
"google-cloud-core": "https://googleapis.dev/python/google-cloud-core/latest",
38+
"google-cloud-datacatalog": "https://googleapis.dev/python/datacatalog/latest",
39+
"google-cloud-datastore": "https://googleapis.dev/python/datastore/latest",
40+
"google-cloud-dlp": "https://googleapis.dev/python/dlp/latest",
41+
"google-cloud-kms": "https://googleapis.dev/python/cloudkms/latest",
42+
"google-cloud-language": "https://googleapis.dev/python/language/latest",
43+
"google-cloud-monitoring": "https://googleapis.dev/python/monitoring/latest",
44+
"google-cloud-pubsub": "https://googleapis.dev/python/pubsub/latest",
45+
"google-cloud-redis": "https://googleapis.dev/python/redis/latest",
46+
"google-cloud-spanner": "https://googleapis.dev/python/spanner/latest",
47+
"google-cloud-speech": "https://googleapis.dev/python/speech/latest",
48+
"google-cloud-storage": "https://googleapis.dev/python/storage/latest",
49+
"google-cloud-tasks": "https://googleapis.dev/python/cloudtasks/latest",
50+
"google-cloud-texttospeech": "https://googleapis.dev/python/texttospeech/latest",
51+
"google-cloud-translate": "https://googleapis.dev/python/translation/latest",
52+
"google-cloud-videointelligence": "https://googleapis.dev/python/videointelligence/latest",
53+
"google-cloud-vision": "https://googleapis.dev/python/vision/latest",
3054
}

docs/spelling_wordlist.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -862,11 +862,8 @@ LineItem
862862
lineterminator
863863
linter
864864
linux
865-
ListColumnSpecsPager
866-
ListDatasetsPager
867865
ListGenerator
868866
ListInfoTypesResponse
869-
ListTableSpecsPager
870867
Liveness
871868
liveness
872869
livy
@@ -1368,7 +1365,6 @@ ssm
13681365
Stackdriver
13691366
stackdriver
13701367
stacktrace
1371-
StartManualTransferRunsResponse
13721368
starttls
13731369
StatefulSet
13741370
StatefulSets
@@ -1435,7 +1431,6 @@ symlink
14351431
symlinking
14361432
symlinks
14371433
sync'ed
1438-
SynthesizeSpeechResponse
14391434
sys
14401435
syspath
14411436
Systemd
@@ -1507,8 +1502,6 @@ tooltip
15071502
tooltips
15081503
traceback
15091504
tracebacks
1510-
TransferConfig
1511-
TransferRun
15121505
travis
15131506
triage
15141507
triaging

0 commit comments

Comments
 (0)