From 84f82ff1adfe19b9f02ebab65f71377f61e30dc7 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 31 Jan 2023 13:21:16 +0000 Subject: [PATCH] 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 --- doc/source/conf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 766e7cbb..dbc2ed9d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -449,12 +449,12 @@ 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), - "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/", None), + "matplotlib": ("https://matplotlib.org/stable/", None), # no longer has a -doc in Debian "/usr/share/doc/python-matplotlib-doc/html/objects.inv" + "numpy": ("https://numpy.org/doc/stable/", None), # no longer has a -doc in Debian "/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/", ("/usr/share/doc/python-scipy-doc/html/objects.inv","/usr/share/doc/python-scipy/html/objects.inv")), "pyarrow": ("https://arrow.apache.org/docs/", None), } -- 2.30.2