From: Diane Trout Date: Sat, 5 Oct 2024 10:43:25 +0000 (+0100) Subject: Use intersphinx inventory files from other Debian packages. X-Git-Tag: archive/raspbian/0.14.4+dfsg-1+rpi1^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bf556672b2ed59eeb797e8fb6d551d44b2f32f47;p=statsmodels.git Use intersphinx inventory files from other Debian packages. Forwarded: not-needed Gbp-Pq: Name use_system_inventory.patch --- diff --git a/docs/source/conf.py b/docs/source/conf.py index 0467668..6d10b75 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -400,12 +400,12 @@ nbsphinx_execute = "never" # Example configuration for intersphinx: refer to the Python standard library. # 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/', None), # no longer has a -doc in Debian '/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), 'matplotlib': ('https://matplotlib.org/', None), - 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None), - 'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None), + 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', '/usr/share/doc/python-scipy-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')