Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 4 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#
import os
import sys
from intersphinx_registry import get_intersphinx_mapping

try:
from ipympl import __version__ as release
Expand Down Expand Up @@ -50,12 +51,9 @@
nitpicky = True # warn if cross-references are missing

# Intersphinx settings
intersphinx_mapping = {
"ipywidgets": ("https://ipywidgets.readthedocs.io/en/stable", None),
"matplotlib": ("https://matplotlib.org/stable", None),
"numpy": ("https://numpy.org/doc/stable", None),
"python": ("https://docs.python.org/3", None),
}
intersphinx_mapping = get_intersphinx_mapping(
packages={"ipywidgets", "matplotlib", "numpy", "python"}
)


# Settings for copybutton
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ docs = [
"sphinx-copybutton",
"sphinx-thebe",
"sphinx-togglebutton",
"intersphinx_registry",
]

[project.urls]
Expand Down
Loading