Use packaged intersphinx indexes
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 7 Jul 2024 18:36:37 +0000 (19:36 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 7 Jul 2024 18:36:37 +0000 (19:36 +0100)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/876417
Forwarded: not-needed

Gbp-Pq: Name use_system_intersphinx.patch

doc/source/conf.py

index 2e54c84b702eba1d2e9d41eb9c9db5a4381420df..ce515f3cad186805b20ad651795364781109905a 100644 (file)
@@ -456,11 +456,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/", 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"
+        "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),
     }