summaryrefslogtreecommitdiffstatshomepage
path: root/docs/conf.py
blob: 53eac6bddda8d27e9a97f198426f37663328c3be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import importlib.metadata

_META = importlib.metadata.metadata("hircine")

author = _META["Author"]
project = _META["Name"]
release = _META["Version"]
version = release
copyright = "2022-2024, Wolfgang Müller"

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.intersphinx",
]
templates_path = ["_templates"]
exclude_patterns = []

html_theme = "furo"
html_static_path = ["_static"]
html_favicon = "_static/favicon.svg"
html_logo = "_static/logo.webp"
html_show_copyright = False
html_copy_source = False

autodoc_typehints_format = "short"
autosectionlabel_prefix_document = True

intersphinx_mapping = {
    "python": ("https://docs.python.org/3", None),
    "packaging": ("https://packaging.python.org/en/latest", None),
}