Skip to content

Commit

Permalink
Merge pull request #2572 from cta-observatory/sphinx_links
Browse files Browse the repository at this point in the history
Update intersphinx mapping and sphinx-gallery-conf
  • Loading branch information
kosack authored Jul 3, 2024
2 parents 0d74b65 + 1860800 commit b63a7d4
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ def setup(app):
"default_thumb_file": "_static/ctapipe_logo.png",
"pypandoc": True,
"matplotlib_animations": True,
# Marks ctapipe as the current module for resolving intersphinx references
"reference_url": {
"ctapipe": None,
},
}


Expand Down Expand Up @@ -387,17 +391,25 @@ def setup(app):
)
]

# Example configuration for intersphinx: refer to the Python standard library.
# Configuration for intersphinx
intersphinx_mapping = {
"python": ("https://docs.python.org/3.10", None),
"astropy": ("https://docs.astropy.org/en/stable/", None),
"bokeh": ("https://docs.bokeh.org/en/latest/", None),
"cython": ("https://docs.cython.org/en/stable/", None),
"iminuit": ("https://scikit-hep.org/iminuit/", None),
"ipywidgets": ("https://ipywidgets.readthedocs.io/en/stable/", None),
"joblib": ("https://joblib.readthedocs.io/en/stable/", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
"numba": ("https://numba.readthedocs.io/en/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"astropy": ("https://docs.astropy.org/en/latest/", None),
"pytables": ("https://www.pytables.org/", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
"matplotlib": ("https://matplotlib.org/stable", None),
"cython": ("https://docs.cython.org/en/latest/", None),
"iminuit": ("https://scikit-hep.org/iminuit/", None),
"psutil": ("https://psutil.readthedocs.io/en/stable/", None),
"pytables": ("https://www.pytables.org/", None),
"pytest": ("https://docs.pytest.org/en/stable/", None),
"python": ("https://docs.python.org/3/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"setuptools": ("https://setuptools.pypa.io/en/stable/", None),
"sklearn": ("https://scikit-learn.org/stable/", None),
"traitlets": ("https://traitlets.readthedocs.io/en/stable/", None),
}

Expand Down

0 comments on commit b63a7d4

Please sign in to comment.