Skip to content

Commit

Permalink
[doc] fix scipy intersphinx mapping (again)
Browse files Browse the repository at this point in the history
Also made asdf point to the used version.
  • Loading branch information
marscher committed May 25, 2022
1 parent 3e307fc commit 1349a5e
Showing 1 changed file with 9 additions and 2 deletions.
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

0 comments on commit 1349a5e

Please sign in to comment.