From bb678f909e3850d2b93cd7edcc04d6658f29f99b Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Wed, 9 Feb 2022 21:43:19 +0100 Subject: [PATCH] Backport PR #22431: Update Scipy intersphinx inventory link --- doc/conf.py | 4 +--- doc/devel/documenting_mpl.rst | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 989a433a2167..a37e07e7fce3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -160,7 +160,7 @@ def _check_dependencies(): 'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None), 'pytest': ('https://pytest.org/en/stable/', None), 'python': ('https://docs.python.org/3/', None), - 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None), + 'scipy': ('https://docs.scipy.org/doc/scipy/', None), 'tornado': ('https://www.tornadoweb.org/en/stable/', None), } @@ -189,8 +189,6 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf, 'doc_module': ('matplotlib', 'mpl_toolkits'), 'reference_url': { 'matplotlib': None, - 'numpy': 'https://numpy.org/doc/stable/', - 'scipy': 'https://docs.scipy.org/doc/scipy/reference/', }, 'backreferences_dir': Path('api') / Path('_as_gen'), 'subsection_order': gallery_order.sectionorder, diff --git a/doc/devel/documenting_mpl.rst b/doc/devel/documenting_mpl.rst index 829fc73debf8..beed5b6549a7 100644 --- a/doc/devel/documenting_mpl.rst +++ b/doc/devel/documenting_mpl.rst @@ -307,7 +307,7 @@ commands:: python -m sphinx.ext.intersphinx 'https://docs.python.org/3/objects.inv' python -m sphinx.ext.intersphinx 'https://numpy.org/doc/stable/objects.inv' - python -m sphinx.ext.intersphinx 'https://docs.scipy.org/doc/scipy/reference/objects.inv' + python -m sphinx.ext.intersphinx 'https://docs.scipy.org/doc/scipy/objects.inv' python -m sphinx.ext.intersphinx 'https://pandas.pydata.org/pandas-docs/stable/objects.inv' .. _rst-figures-and-includes: