Skip to content

Commit ad130e0

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
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 e855b84 commit ad130e0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/source/conf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -409,13 +409,13 @@
409409
if pattern is None:
410410
intersphinx_mapping = {
411411
"dateutil": ("https://dateutil.readthedocs.io/en/latest/", None),
412-
"matplotlib": ("https://matplotlib.org/", None),
413-
"numpy": ("https://numpy.org/doc/stable/", None),
414-
"pandas-gbq": ("https://pandas-gbq.readthedocs.io/en/latest/", None),
415-
"py": ("https://pylib.readthedocs.io/en/latest/", None),
416-
"python": ("https://docs.python.org/3/", None),
417-
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
418-
"statsmodels": ("https://www.statsmodels.org/devel/", None),
412+
"matplotlib": ("https://matplotlib.org/", "/usr/share/doc/python-matplotlib-doc/html/objects.inv"),
413+
"numpy": ("https://numpy.org/doc/stable/", "/usr/share/doc/python-numpy-doc/html/objects.inv"),
414+
"pandas-gbq": ("https://pandas-gbq.readthedocs.io/en/latest/", None), # not in Debian
415+
"py": ("https://pylib.readthedocs.io/en/latest/", None), # no -doc in Debian
416+
"python": ("https://docs.python.org/3/", "/usr/share/doc/python3-doc/html/objects.inv"),
417+
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", ("/usr/share/doc/python-scipy-doc/html/objects.inv","/usr/share/doc/python-scipy/html/objects.inv")),
418+
"statsmodels": ("https://www.statsmodels.org/devel/", "/usr/share/doc/python-statsmodels-doc/html/objects.inv"),
419419
}
420420

421421
# extlinks alias

0 commit comments

Comments
 (0)