File: debianization-documentation.patch

package info (click to toggle)
graph-tool 2.91%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 28,920 kB
  • sloc: cpp: 85,847; python: 30,777; makefile: 909; xml: 101; sh: 42
file content (33 lines) | stat: -rw-r--r-- 1,870 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 Policy requirements for documentation.
 This is a Debian centric patch.
Origin: vendor, Debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2024-05-26

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -232,14 +232,14 @@
 
 
 # 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://www.cairographics.org/documentation/pycairo/3', None),
-                       'ipython': ('https://ipython.org/ipython-doc/stable/', None),
-                       'panda': ('https://pandas.pydata.org/pandas-docs/stable/', None),
-                       'basemap': ('https://matplotlib.org/basemap/stable/', 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)}
 
 extlinks_fancy = {'issue': (['https://git.skewed.de/count0/graph-tool/issues/{0}'],
                              ['issue #{0}']),