Package: python-xarray / 0.12.1-2~bpo10+1

Use-packaged-docs.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
30
31
32
33
34
35
36
37
38
39
40
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sat, 15 Apr 2017 15:33:41 +0100
Subject: Use packaged docs
Last-Updated: 2019-01-23
Forwarded: not-needed

---
 doc/conf.py | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Index: python-xarray-0.11.2/doc/conf.py
===================================================================
--- python-xarray-0.11.2.orig/doc/conf.py
+++ python-xarray-0.11.2/doc/conf.py
@@ -322,10 +322,20 @@ texinfo_documents = [
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3/', None),
-    'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
+    'matplotlib': ('https://matplotlib.org/',
+                   '/usr/share/doc/python-matplotlib-doc/html/objects.inv'
+    ),
     'iris': ('http://scitools.org.uk/iris/docs/latest/', None),
-    'numpy': ('https://docs.scipy.org/doc/numpy/', None),
-    'numba': ('https://numba.pydata.org/numba-doc/latest/', None),
-    'matplotlib': ('https://matplotlib.org/', None),
+     'python': (
+        'https://docs.python.org/3/',
+        '/usr/share/doc/python3/html/objects.inv'
+    ),
+    'pandas': (
+        'http://pandas.pydata.org/pandas-docs/stable/',
+        '/usr/share/doc/python-pandas-doc/html/objects.inv'
+    ),
+    'numpy': (
+        'http://docs.scipy.org/doc/numpy/',
+        '/usr/share/doc/python-numpy-doc/html/objects.inv'
+    )
 }