diff --git a/doc/conf.py b/doc/conf.py index 659ed9e9b825f6b98d6a302e6b8218ea6a2e66bb..0ffb270fd005e5bb4a7b35e4c1b9783c899640ae 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,5 +1,6 @@ from urllib.request import urlopen + _conf_url = \ "https://raw.githubusercontent.com/inducer/sphinxconfig/main/sphinxconfig.py" with urlopen(_conf_url) as _inf: @@ -25,19 +26,19 @@ release = ver_dic["VERSION_TEXT"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] intersphinx_mapping = { - "https://docs.python.org/3": None, - "https://numpy.org/doc/stable": None, - "https://documen.tician.de/pymbolic/": None, - "https://documen.tician.de/loopy/": None, - "https://docs.pytest.org/en/stable/": None, - } - -nitpick_ignore_regex = [ - ["py:class", r"typing_extensions\.(.+)"], - ] + "loopy": ("https://documen.tician.de/loopy/", None), + "numpy": ("https://numpy.org/doc/stable", None), + "pymbolic": ("https://documen.tician.de/pymbolic/", None), + "pytest": ("https://docs.pytest.org/en/stable/", None), + "python": ("https://docs.python.org/3", None), +} nitpicky = True +nitpick_ignore_regex = [ + ["py:class", r"typing_extensions\.(.+)"], +] -autodoc_type_aliases = {"GraphT": "pytools.graph.GraphT", - "NodeT": "pytools.graph.NodeT", - } +autodoc_type_aliases = { + "GraphT": "pytools.graph.GraphT", + "NodeT": "pytools.graph.NodeT", +}