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
8 changes: 3 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import shutil
from datetime import datetime, timezone

from intersphinx_registry import get_intersphinx_mapping

HERE = os.path.dirname(__file__)

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down Expand Up @@ -317,11 +319,7 @@
# texinfo_no_detailmenu = False

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
"python": ("https://docs.python.org/3.6", None),
"jinja": ("http://jinja.pocoo.org/docs", None),
"nbformat": ("https://nbformat.readthedocs.io/en/latest", None),
}
intersphinx_mapping = get_intersphinx_mapping(packages={"python", "jinja", "nbformat"})


def setup(_):
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ docs = [
"ipython",
"ipykernel",
"sphinxcontrib_spelling",
"intersphinx_registry",
]
all = ["nbconvert[qtpdf,webpdf,test,serve,docs]"]

Expand Down
Loading