Skip to content
conf.py 1.22 KiB
Newer Older
from urllib.request import urlopen
Andreas Klöckner's avatar
Andreas Klöckner committed

_conf_url = \
        "https://raw.githubusercontent.com/inducer/sphinxconfig/main/sphinxconfig.py"
with urlopen(_conf_url) as _inf:
    exec(compile(_inf.read(), _conf_url, "exec"), globals())
Andreas Klöckner's avatar
Andreas Klöckner committed

copyright = "2009-21, Andreas Kloeckner"
Andreas Klöckner's avatar
Andreas Klöckner committed
author = "Andreas Kloeckner"
Andreas Klöckner's avatar
Andreas Klöckner committed

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
ver_dic = {}
Andreas Klöckner's avatar
Andreas Klöckner committed
exec(compile(open("../pytools/version.py").read(), "../pytools/version.py", "exec"),
        ver_dic)
Andreas Klöckner's avatar
Andreas Klöckner committed
version = ".".join(str(x) for x in ver_dic["VERSION"])
release = ver_dic["VERSION_TEXT"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
Andreas Klöckner's avatar
Andreas Klöckner committed
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
Andreas Klöckner's avatar
Andreas Klöckner committed

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,

nitpick_ignore_regex = [
        ["py:class", r"typing_extensions\.(.+)"],
        ]