Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] fix scipy intersphinx mapping (again) #765

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,19 +269,26 @@ def _copy_tut_files():
# html_theme_options = {"logo_only": True}

# Intersphinx mappings -----------------------------------------------------
import asdf as _asdf

_asdf_version = _asdf.__version__

import scipy as _scipy

_scipy_version = _scipy.__version__

intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://numpy.org/doc/stable", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable", None),
"xarray": ("https://xarray.pydata.org/en/stable", None),
"scipy": ("https://docs.scipy.org/doc/scipy-1.8.0/html-scipyorg/", None),
"scipy": (f"https://docs.scipy.org/doc/scipy-{_scipy_version}/", None),
"matplotlib": ("https://matplotlib.org/stable", None),
# "dask": ("https://docs.dask.org/en/latest", None),
# "numba": ("https://numba.pydata.org/numba-doc/latest", None),
"pint": ("https://pint.readthedocs.io/en/stable", None),
"jsonschema": ("https://python-jsonschema.readthedocs.io/en/stable/", None),
"asdf": ("https://asdf.readthedocs.io/en/2.9.2/", None),
"asdf": (f"https://asdf.readthedocs.io/en/{_asdf_version}/", None),
"networkx": ("https://networkx.org/documentation/stable/", None),
"IPython": ("https://ipython.readthedocs.io/en/stable/", None),
"k3d": ("https://k3d-jupyter.org/", None),
Expand Down