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(-)

Index: python-hdf5storage/doc/source/conf.py
===================================================================
--- python-hdf5storage.orig/doc/source/conf.py	2021-02-21 23:55:25.815695686 +0100
+++ python-hdf5storage/doc/source/conf.py	2021-02-21 23:56:38.796489635 +0100
@@ -257,10 +257,24 @@
 
 # Example configuration for intersphinx: refer to the Python standard library.
 
-intersphinx_mapping = {'python': ('http://docs.python.org/3.6', 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 ---------------------------------------------------
 
