Use intersphinx inventory files from other Debian packages.
authorDiane Trout <diane@ghic.org>
Tue, 28 Jan 2020 22:29:29 +0000 (22:29 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Tue, 28 Jan 2020 22:29:29 +0000 (22:29 +0000)
Forwarded: not-needed

Gbp-Pq: Name use-system-inventory

docs/source/conf.py

index 1fd5351206efa17a0b731d6d05c9e69b12797b76..eff7c71260a85771b5d86307f3a783a1c8f01210 100644 (file)
@@ -333,11 +333,11 @@ epub_copyright = u'2009-2019, Josef Perktold, Skipper Seabold, ' \
 
 # 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'),
 }
 
 plot_basedir = join(dirname(dirname(os.path.abspath(__file__))), 'source')