summaryrefslogtreecommitdiffstatshomepage
path: root/docs/conf.py
blob: a3d9bdceff05ccdcc41672cdfccb683989e1a5c4 (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
32
33
34
35
36
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",
    "sphinx_issues",
]
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),
}

issues_default_group_project = "/hircine"
issues_commit_uri = "https://git.oriole.systems/{project}/commit/?id={commit}"
issues_commit_prefix = ""