Skip to content

Commit

Permalink
docs: update intersphinx mapping from deprecated variant
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Apr 25, 2023
1 parent 1dff711 commit cfe4a2c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions doc/conf.py
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -15,13 +16,13 @@
release = ver_dic["VERSION_TEXT"]

intersphinx_mapping = {
"https://docs.python.org/3/": None,
"https://numpy.org/doc/stable/": None,
"https://documen.tician.de/pyopencl/": None,
"https://documen.tician.de/meshmode/": None,
"https://documen.tician.de/arraycontext/": None,
"https://documen.tician.de/pytential/": None,
}
"arraycontext": ("https://documen.tician.de/arraycontext", None),
"meshmode": ("https://documen.tician.de/meshmode", None),
"numpy": ("https://numpy.org/doc/stable", None),
"pyopencl": ("https://documen.tician.de/pyopencl", None),
"pytential": ("https://documen.tician.de/pytential", None),
"python": ("https://docs.python.org/3", None),
}

nitpick_ignore_regex = [
["py:class", r"numpy._?typing._generic_alias.ScalarType"],
Expand All @@ -37,4 +38,6 @@
# this needs a setting of the same name across all packages involved, that's
# why this name is as global-sounding as it is.
import sys


sys._BUILDING_SPHINX_DOCS = True

0 comments on commit cfe4a2c

Please sign in to comment.