From d694f1f7e19cacbb51709db4ae59ccfce913a605 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl <alexfikl@gmail.com> Date: Wed, 26 Apr 2023 14:42:49 +0300 Subject: [PATCH] docs: update intersphinx mapping from deprecated variant --- doc/conf.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 659ed9e..0ffb270 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", +} -- GitLab