Skip to content

Commit 3bd52e6

Browse files
authored
[docs] Disable numpy intersphinx (#10752)
These links usually 403 for us which `task_python_docs.sh` is set up to ignore, however sometimes it hits a 404 error which has been causing CI failures lately (e.g. https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/2832/pipeline/). This disables intersphinx links to numpy entirely until we can sort out a better fix. Co-authored-by: driazati <driazati@users.noreply.github.com>
1 parent f368295 commit 3bd52e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def git_describe_version(original_version):
202202

203203
intersphinx_mapping = {
204204
"python": ("https://docs.python.org/{.major}".format(sys.version_info), None),
205-
"numpy": ("https://numpy.org/doc/stable", None),
205+
# "numpy": ("https://numpy.org/doc/stable", None),
206206
"scipy": ("https://docs.scipy.org/doc/scipy-1.8.0/html-scipyorg/", None),
207207
"matplotlib": ("https://matplotlib.org/", None),
208208
}
@@ -353,7 +353,7 @@ def force_gc(gallery_conf, fname):
353353
"reference_url": {
354354
"tvm": None,
355355
"matplotlib": "https://matplotlib.org/",
356-
"numpy": "https://numpy.org/doc/stable",
356+
# "numpy": "https://numpy.org/doc/stable",
357357
},
358358
"examples_dirs": examples_dirs,
359359
"within_subsection_order": WithinSubsectionOrder,

0 commit comments

Comments
 (0)