googleapis / googleapis/google-cloud-python

DOCS - intersphinx objects.inv link to wrong location

未关闭
#15,968 2 条评论 1 个 reaction 已指派 1 人 已被 @chandra-siri 认领 在 GitHub 查看
api: storage
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
122

描述

The `objects.inv` file that can be found at https://googleapis.dev/python/storage/latest/objects.inv links to the wrong location. For example, `google.cloud.storage.client.Client` ought to link to:

https://cloud.google.com/python/docs/reference/storage/latest/google.cloud.storage.client.Client

But it actually links to:

https://cloud.google.com/python/docs/reference/storage/latest/index.html#google.cloud.storage.client.Client

Inspecting the manifest by running:

`python -m sphinx.ext.intersphinx https://googleapis.dev/python/storage/latest/objects.inv`

We get the following:

```
py:class
google.cloud.storage.client.Client: storage/client.html#google.cloud.storage.client.Client
```

Based on how the site behaves my guess is that because `storage/client.html` is an unknown page, that's getting redirected to `index.html` while preserving the `#google.cloud.storage.client.Client`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。