This is an automated email from the ASF dual-hosted git repository.
masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 3bd52e6 [docs] Disable numpy intersphinx (#10752)
3bd52e6 is described below
commit 3bd52e63a3150db0e67b855a808685e596657d2b
Author: driazati <[email protected]>
AuthorDate: Thu Mar 24 01:19:30 2022 -0700
[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 <[email protected]>
---
docs/conf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 004e903..6e2418c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -202,7 +202,7 @@ latex_documents = [
intersphinx_mapping = {
"python": ("https://docs.python.org/{.major}".format(sys.version_info),
None),
- "numpy": ("https://numpy.org/doc/stable", None),
+ # "numpy": ("https://numpy.org/doc/stable", None),
"scipy": ("https://docs.scipy.org/doc/scipy-1.8.0/html-scipyorg/", None),
"matplotlib": ("https://matplotlib.org/", None),
}
@@ -353,7 +353,7 @@ sphinx_gallery_conf = {
"reference_url": {
"tvm": None,
"matplotlib": "https://matplotlib.org/",
- "numpy": "https://numpy.org/doc/stable",
+ # "numpy": "https://numpy.org/doc/stable",
},
"examples_dirs": examples_dirs,
"within_subsection_order": WithinSubsectionOrder,