diff --git a/changelog/7269.internal.rst b/changelog/7269.internal.rst new file mode 100644 index 0000000000..0d3be93414 --- /dev/null +++ b/changelog/7269.internal.rst @@ -0,0 +1 @@ +:user:`rcomer` updated the scipy intersphinx mapping to make documentation builds more reliable. \ No newline at end of file diff --git a/docs/src/conf.py b/docs/src/conf.py index 0e491f3ddc..b243d8d8ca 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -313,7 +313,13 @@ def _dotv(version): "pandas": ("https://pandas.pydata.org/docs/", None), "python": ("https://docs.python.org/3/", None), "pyvista": ("https://docs.pyvista.org/", None), - "scipy": ("https://docs.scipy.org/doc/scipy/", None), + # For scipy, get the inventory from the static site because it can be slow and + # sometimes times out when fetching from the docs site. + # https://github.com/scipy/docs.scipy.org/issues/102 + "scipy": ( + "https://docs.scipy.org/doc/scipy/", + "https://static.scipy.org/doc/scipy/objects.inv", + ), } # The name of the Pygments (syntax highlighting) style to use.