Description: debianization: documentation
 Meant to address Debian specific requirements and stuff for documentation.
Origin: vendor, Debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2025-06-15

--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -218,7 +218,6 @@
     "--project-url=https://python.igraph.org",
     "--introspect-c-modules",
     "--docformat=epytext",
-    "--intersphinx=https://docs.python.org/3/objects.inv",
     "--html-output=" + get_pydoctor_html_outputdir(pydoctor_url_path),
     "--html-viewsource-base=https://github.com/igraph/python-igraph/tree/main/src/igraph",
     "--project-base-dir=" + _igraph_dir,
@@ -332,9 +331,10 @@
 # -- Intersphinx ------------------------------------------------
 
 intersphinx_mapping = {
-    "numpy": ("https://numpy.org/doc/stable/", None),
-    "scipy": ("https://docs.scipy.org/doc/scipy/", None),
-    "matplotlib": ("https://matplotlib.org/stable", None),
-    "pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
-    "networkx": ("https://networkx.org/documentation/stable/", None),
+    "python": ("file:///usr/share/doc/python3-doc/html", ("/usr/share/doc/python3-doc/html/objects.inv" ,None)),
+##    "numpy": ("https://numpy.org/doc/stable/", None),
+    "scipy": ("file:///usr/share/doc/python-scipy-doc/html", ("/usr/share/doc/python-scipy-doc/html/objects.inv" ,None)),
+##    "matplotlib": ("https://matplotlib.org/stable", None),
+    "pandas": ("file:///usr/share/doc/python-pandas-doc/html", ("/usr/share/doc/python-pandas-doc/html/objects.inv", None)),
+##    "networkx": ("https://networkx.org/documentation/stable/", None),
 }
