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 41
|
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sun, 17 Jul 2016 09:32:11 +0100
Subject: Make intersphinx use local inventory files.
---
doc/source/conf.py | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8662440..4ef3124 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -257,10 +257,24 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'python': ('http://docs.python.org/3.3', None),
- 'numpy': ('http://docs.scipy.org/doc/numpy', None),
- 'scipy': ('http://docs.scipy.org/doc/scipy/reference', None),
- 'h5py': ('http://docs.h5py.org/en/latest/', None)}
+intersphinx_mapping = {
+ 'python': (
+ 'http://docs.python.org/3',
+ '/usr/share/doc/python3/html/objects.inv'
+ ),
+ 'numpy': (
+ 'http://docs.scipy.org/doc/numpy',
+ '/usr/share/doc/python-numpy-doc/html/objects.inv'
+ ),
+ 'scipy': (
+ 'http://docs.scipy.org/doc/scipy/reference',
+ '/usr/share/doc/python-scipy-doc/html/objects.inv'
+ ),
+ 'h5py': (
+ 'http://docs.h5py.org/en/latest/',
+ '/usr/share/doc/python-h5py-doc/html/objects.inv'
+ )
+}
# -- Options for Autosummary ---------------------------------------------------
|