From: Debian Science Team Date: Tue, 28 Jan 2025 22:18:06 +0000 (+0000) Subject: Use packaged intersphinx indexes X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6a741a7d7b68d3c1d801cd1cb4731a4c35438aa1;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), }