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: 2024-02-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),
 }
--- a/doc/source/sg_execution_times.rst
+++ b/doc/source/sg_execution_times.rst
@@ -13,12 +13,12 @@
   .. raw:: html
 
     <style scoped>
-    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
-    <link href="https://cdn.datatables.net/1.13.6/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
+    <link href="file:///usr/share/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
+    <link href="file:///usr/share/javascript/jquery-datatables/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
     </style>
-    <script src="https://code.jquery.com/jquery-3.7.0.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/dataTables.bootstrap5.min.js"></script>
+    <script src="file:///usr/share/javascript/jquery/jquery.js"></script>
+    <script src="file:///usr/share/javascript/jquery-datatables/jquery.dataTables.min.js"></script>
+    <script src="file:///usr/share/javascript/jquery-datatables/dataTables.bootstrap5.min.js"></script>
     <script type="text/javascript" class="init">
     $(document).ready( function () {
         $('table.sg-datatable').DataTable({order: [[1, 'desc']]});
