Author: Diane Trout <diane@ghic.org>
Description: Use intersphinx inventory files from other Debian packages.
Forwarded: not-needed

--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -316,11 +316,11 @@ epub_copyright = u'2009-2017, Josef Perk
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    'numpy': ('https://docs.scipy.org/doc/numpy/', None),
-    'python': ('https://docs.python.org/3/', None),
+    'numpy': ('https://docs.scipy.org/doc/numpy/', '/usr/share/doc/python-numpy-doc/html/objects.inv'),
+    'python': ('https://docs.python.org/3/', '/usr/share/doc/python3-doc/html/objects.inv'),
     'pydagogue': ('https://matthew-brett.github.io/pydagogue/', None),
-    'patsy': ('https://patsy.readthedocs.io/en/latest/', None),
-    'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
+    'patsy': ('https://patsy.readthedocs.io/en/latest/', '/usr/share/doc/python-patsy-doc/html/objects.inv'),
+    'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', '/usr/share/doc/python-pandas-doc/html/objects.inv'),
 }
 
 from os.path import dirname, abspath, join
