Skip to content

Commit 0c5e52e

Browse files
committed
Update SciPy doc reference path
As noted in scipy/scipy#15545 the object inventory has moved. Though there's a redirect, it has paths like `reference/..` which doubles the `reference` in the URL.
1 parent c0c3627 commit 0c5e52e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _check_dependencies():
160160
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
161161
'pytest': ('https://pytest.org/en/stable/', None),
162162
'python': ('https://docs.python.org/3/', None),
163-
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
163+
'scipy': ('https://docs.scipy.org/doc/scipy/', None),
164164
'tornado': ('https://www.tornadoweb.org/en/stable/', None),
165165
'xarray': ('https://xarray.pydata.org/en/stable/', None),
166166
}
@@ -191,7 +191,7 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
191191
'reference_url': {
192192
'matplotlib': None,
193193
'numpy': 'https://numpy.org/doc/stable/',
194-
'scipy': 'https://docs.scipy.org/doc/scipy/reference/',
194+
'scipy': 'https://docs.scipy.org/doc/scipy/',
195195
},
196196
'backreferences_dir': Path('api') / Path('_as_gen'),
197197
'subsection_order': gallery_order.sectionorder,

doc/devel/documenting_mpl.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ commands::
307307

308308
python -m sphinx.ext.intersphinx 'https://docs.python.org/3/objects.inv'
309309
python -m sphinx.ext.intersphinx 'https://numpy.org/doc/stable/objects.inv'
310-
python -m sphinx.ext.intersphinx 'https://docs.scipy.org/doc/scipy/reference/objects.inv'
310+
python -m sphinx.ext.intersphinx 'https://docs.scipy.org/doc/scipy/objects.inv'
311311
python -m sphinx.ext.intersphinx 'https://pandas.pydata.org/pandas-docs/stable/objects.inv'
312312

313313
.. _rst-figures-and-includes:

0 commit comments

Comments
 (0)