Package: numpy / 1:1.19.5-1

use_local_object.inv_files.patch Patch series | 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
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Sun, 11 Oct 2015 10:12:16 -0700
Subject: Use a local copy of object.inv from doc.python.org,
 instead of downloading it each time from the internet

Patch-Name: 10_use_local_python.org_object.inv_sphinx.diff
---
 doc/source/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -240,11 +240,11 @@ texinfo_documents = [
 # Intersphinx configuration
 # -----------------------------------------------------------------------------
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/dev', None),
-    'scipy': ('https://docs.scipy.org/doc/scipy/reference', None),
-    'matplotlib': ('https://matplotlib.org', None),
-    'imageio': ('https://imageio.readthedocs.io/en/stable', None),
-    'skimage': ('https://scikit-image.org/docs/stable', None)
+    'python': ('https://docs.python.org/dev', '/usr/share/doc/python3/html/objects.inv'),
+    'scipy': ('https://docs.scipy.org/doc/scipy/reference', '/usr/share/doc/python-scipy-doc/html/objects.inv'),
+    'matplotlib': ('https://matplotlib.org', '/usr/share/doc/python-matplotlib-doc/html/objects.inv'),
+    'imageio': ('https://imageio.readthedocs.io/en/stable', '/usr/share/doc/python-imageio-doc/html/objects.inv'),
+    'skimage': ('https://scikit-image.org/docs/stable', '/usr/share/doc/python-skimage-doc/html/objects.inv'),
 }