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 37 38
|
from datetime import datetime
extensions = [
"sphinx.ext.extlinks",
]
templates_path = ["_templates"]
master_doc = "index"
project = "Alabaster"
copyright = f"{datetime.now().year}, the Sphinx developers"
exclude_patterns = ["_build"]
extlinks = {
"git_tag": ("https://github.com/sphinx-doc/alabaster/tree/%s", "%s"),
"bug": ("https://github.com/sphinx-doc/alabaster/issues/%s", "#%s"),
"feature": ("https://github.com/sphinx-doc/alabaster/issues/%s", "#%s"),
"issue": ("https://github.com/sphinx-doc/alabaster/issues/%s", "#%s"),
}
html_theme = "alabaster"
html_sidebars = {
"**": [
"about.html",
"searchfield.html",
"navigation.html",
"relations.html",
"donate.html",
]
}
html_theme_options = {
"description": "A light, configurable Sphinx theme",
"github_user": "sphinx-doc",
"github_repo": "alabaster",
"fixed_sidebar": True,
"tidelift_url": "https://tidelift.com/subscription/pkg/pypi-alabaster?utm_source=pypi-alabaster&utm_medium=referral&utm_campaign=docs", # noqa
"github_banner": True,
}
|