From: Debian Science Team Date: Sun, 2 Feb 2025 11:17:13 +0000 (+0000) Subject: Use packaged intersphinx indexes X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aa768fe18d2780b0ab54743a3c342f0fbcf81fe5;p=pandas.git Use packaged intersphinx indexes Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/876417 Forwarded: not-needed Gbp-Pq: Name use_system_intersphinx.patch --- diff --git a/doc/source/conf.py b/doc/source/conf.py index 9f47b733..3212ddfa 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -458,11 +458,11 @@ latex_documents = [ if include_api: intersphinx_mapping = { "dateutil": ("https://dateutil.readthedocs.io/en/latest/", None), - "matplotlib": ("https://matplotlib.org/stable/", None), - "numpy": ("https://numpy.org/doc/stable/", None), - "py": ("https://pylib.readthedocs.io/en/latest/", None), - "python": ("https://docs.python.org/3/", None), - "scipy": ("https://docs.scipy.org/doc/scipy/", None), + "matplotlib": ("https://matplotlib.org/stable/", "/usr/share/doc/python-matplotlib-doc/html/objects.inv"), + "numpy": ("https://numpy.org/doc/stable/", "/usr/share/doc/python-numpy-doc/html/objects.inv"), + "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/", ("/usr/share/doc/python-scipy-doc/html/objects.inv","/usr/share/doc/python-scipy/html/objects.inv")), "pyarrow": ("https://arrow.apache.org/docs/", None), }