Skip to content

Commit 10df6e8

Browse files
authored
docs: Use cached versions of Cloud objects.inv files (#863)
The objects.inv files for two different library deps are currently inaccessible due to redirects. In the meantime, allow continuing to build the docs by caching them locally. They are second in the list, so if the original URL's start serving the files themselves, there will be no need to update conf.py again. The cache is strictly a fallback. Fixes #862
1 parent aa761b5 commit 10df6e8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
465 Bytes
Binary file not shown.

packages/google-cloud-ndb/docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,16 @@
214214
"python": ("https://docs.python.org/", None),
215215
"google-auth": ("https://google-auth.readthedocs.io/en/latest/", None),
216216
"google-cloud-datastore": (
217-
"https://googleapis.dev/python/datastore/latest/",
218-
None,
217+
"https://cloud.google.com/python/docs/reference/datastore/latest/",
218+
(None, "datastore_objects.inv"),
219219
),
220220
"google-api-core": (
221221
"https://googleapis.dev/python/google-api-core/latest",
222222
None,
223223
),
224224
"google-cloud-core": (
225-
"https://googleapis.dev/python/google-cloud-core/latest",
226-
None,
225+
"https://cloud.google.com/python/docs/reference/google-cloud-core/latest/",
226+
(None, "cloud-core_objects.inv"),
227227
),
228228
"grpc": ("https://grpc.io/grpc/python/", None),
229229
}
1.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)