Skip to content

Commit 96c9afa

Browse files
Debian Science Teamrebecca-palmer
authored andcommitted
Use packaged intersphinx indexes
Author: Rebecca N. Palmer <[email protected]> Bug-Debian: https://bugs.debian.org/876417 Forwarded: not-needed Gbp-Pq: Name use_system_intersphinx.patch
1 parent c982d0a commit 96c9afa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/source/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,11 @@
458458
if include_api:
459459
intersphinx_mapping = {
460460
"dateutil": ("https://dateutil.readthedocs.io/en/latest/", None),
461-
"matplotlib": ("https://matplotlib.org/stable/", None),
462-
"numpy": ("https://numpy.org/doc/stable/", None),
463-
"py": ("https://pylib.readthedocs.io/en/latest/", None),
464-
"python": ("https://docs.python.org/3/", None),
465-
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
461+
"matplotlib": ("https://matplotlib.org/stable/", "/usr/share/doc/python-matplotlib-doc/html/objects.inv"),
462+
"numpy": ("https://numpy.org/doc/stable/", "/usr/share/doc/python-numpy-doc/html/objects.inv"),
463+
"py": ("https://pylib.readthedocs.io/en/latest/", None), # no -doc in Debian
464+
"python": ("https://docs.python.org/3/", "/usr/share/doc/python3-doc/html/objects.inv"),
465+
"scipy": ("https://docs.scipy.org/doc/scipy/", ("/usr/share/doc/python-scipy-doc/html/objects.inv","/usr/share/doc/python-scipy/html/objects.inv")),
466466
"pyarrow": ("https://arrow.apache.org/docs/", None),
467467
}
468468

0 commit comments

Comments
 (0)