File: debianization-documentation.patch

package info (click to toggle)
python-igraph 0.11.9%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,480 kB
  • sloc: ansic: 24,611; python: 21,748; sh: 111; makefile: 35; sed: 2
file content (33 lines) | stat: -rw-r--r-- 1,666 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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),
 }