Description: debianization -- documentation
 Meant to address Debian Policy requirements for documentation.
 This is a Debian centric patch.
Origin: vendor, Debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2025-06-08

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -285,16 +285,16 @@
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'python': ('https://docs.python.org/3', None),
-                       'numpy': ('https://numpy.org/doc/stable/', None),
-                       'scipy': ('https://docs.scipy.org/doc/scipy/', None),
-                       'matplotlib': ('https://matplotlib.org/stable/', None),
-                       'cairo': ('https://pycairo.readthedocs.io/en/latest/', None),
-                       'ipython': ('https://ipython.org/ipython-doc/stable/', None),
-                       'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
-                       'basemap': ('https://matplotlib.org/basemap/stable/', None),
-                       'myst': ('https://myst-parser.readthedocs.io/en/latest/', None)
-                       }
+intersphinx_mapping = {'python': ('/usr/share/doc/python3/html/', None),
+                       'numpy': ('/usr/share/doc/python-numpy-doc/html/', None),
+                       'scipy': ('/usr/share/doc/python-scipy-doc/html/', None),
+                       'matplotlib': ('/usr/share/doc/python-matplotlib-doc/html/', None),
+                       'cairo': ('/usr/share/doc/python3-cairo/html/', None),
+                       'ipython': ('/usr/share/doc/python-ipython-doc/html/', None),
+                       'panda': ('/usr/share/doc/python-pandas-doc/html/', None),
+                       'basemap': ('/usr/share/doc/python-mpltoolkits.basemap-doc/html/', None),
+                       'myst': ('/usr/share/doc/python3-myst-parser/', None)}
+
 
 extlinks_fancy = {'issue': (['https://git.skewed.de/count0/graph-tool/issues/{0}'],
                              ['issue #{0}']),
