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

This avoids downloading them each time from the internet
---
 doc/source/conf.py | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index e3146bf..f202baa 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -408,18 +408,18 @@ texinfo_documents = [
 # Intersphinx configuration
 # -----------------------------------------------------------------------------
 intersphinx_mapping = {
-    'neps': ('https://numpy.org/neps', None),
-    'python': ('https://docs.python.org/3', None),
-    'scipy': ('https://docs.scipy.org/doc/scipy', None),
-    'matplotlib': ('https://matplotlib.org/stable', None),
-    'imageio': ('https://imageio.readthedocs.io/en/stable', None),
-    'skimage': ('https://scikit-image.org/docs/stable', None),
-    'pandas': ('https://pandas.pydata.org/pandas-docs/stable', None),
-    'scipy-lecture-notes': ('https://scipy-lectures.org', None),
-    'pytest': ('https://docs.pytest.org/en/stable', None),
-    'numpy-tutorials': ('https://numpy.org/numpy-tutorials', None),
-    'numpydoc': ('https://numpydoc.readthedocs.io/en/latest', None),
-    'dlpack': ('https://dmlc.github.io/dlpack/latest', None)
+    'neps': ('https://numpy.org/neps', '../../debian/intersphinx/neps_objects.inv'),
+    'python': ('/usr/share/doc/python3/html/', None),
+    'scipy': ('/usr/share/doc/python-scipy-doc/html/', None),
+    'matplotlib': ('https://matplotlib.org/stable/', '../../debian/intersphinx/matplotlib_objects.inv'),
+    'imageio': ('/usr/share/doc/python-imageio-doc/html/', None),
+    'skimage': ('/usr/share/doc/python-skimage-doc/html/', None),
+    'pandas': ('/usr/share/doc/python-pandas-doc/html/', None),
+    'scipy-lecture-notes': ('https://scipy-lectures.org', '../../debian/intersphinx/scipy-lectures_objects.inv'),
+    'pytest': ('/usr/share/doc/python-pytest-doc/html/', None),
+    'numpy-tutorials': ('https://numpy.org/numpy-tutorials', '../../debian/intersphinx/numpy-tutorials_objects.inv'),
+    'numpydoc': ('https://numpydoc.readthedocs.io/en/latest', '../../debian/intersphinx/numpydoc_objects.inv'),
+    'dlpack': ('https://dmlc.github.io/dlpack/latest', '../../debian/intersphinx/dlpack_objects.inv')
 }
 
 
