File: debianization-documentation.patch

package info (click to toggle)
graph-tool 2.97%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,244 kB
  • sloc: cpp: 86,942; python: 31,235; makefile: 941; xml: 101; sh: 42
file content (37 lines) | stat: -rw-r--r-- 2,054 bytes parent folder | download
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
34
35
36
37
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}']),