From 95f3af4e445b37cbe07008d83e683abdfe327b50 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sun, 16 Aug 2020 20:09:14 +0100 Subject: [PATCH] Use packaged intersphinx indexes, and use https links Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/876417 Forwarded: no Gbp-Pq: Name use_system_intersphinx.patch --- doc/source/conf.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index e946813e..db8f4249 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -409,13 +409,13 @@ latex_documents = [ if pattern is None: intersphinx_mapping = { "dateutil": ("https://dateutil.readthedocs.io/en/latest/", None), - "matplotlib": ("https://matplotlib.org/", None), - "numpy": ("https://docs.scipy.org/doc/numpy/", None), - "pandas-gbq": ("https://pandas-gbq.readthedocs.io/en/latest/", None), - "py": ("https://pylib.readthedocs.io/en/latest/", None), - "python": ("https://docs.python.org/3/", None), - "scipy": ("https://docs.scipy.org/doc/scipy/reference/", None), - "statsmodels": ("http://www.statsmodels.org/devel/", None), + "matplotlib": ("https://matplotlib.org/", "/usr/share/doc/python-matplotlib-doc/html/objects.inv"), + "numpy": ("https://docs.scipy.org/doc/numpy/", "/usr/share/doc/python-numpy-doc/html/objects.inv"), + "pandas-gbq": ("https://pandas-gbq.readthedocs.io/en/latest/", None), # not in Debian + "py": ("https://pylib.readthedocs.io/en/latest/", None), # no -doc in Debian + "python": ("https://docs.python.org/3/", "/usr/share/doc/python3-doc/html/objects.inv"), + "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")), + "statsmodels": ("https://www.statsmodels.org/devel/", "/usr/share/doc/python-statsmodels-doc/html/objects.inv"), } # extlinks alias -- 2.30.2