Debian Codegraph @

docs/conf.py

raw
1 from datetime import datetime
2
3 extensions = [
4 "sphinx.ext.extlinks",
5 ]
6 templates_path = ["_templates"]
7 master_doc = "index"
8
9 project = "Alabaster"
10 copyright = f"{datetime.now().year}, the Sphinx developers"
11
12 exclude_patterns = ["_build"]
13
14 extlinks = {
15 "git_tag": ("https://github.com/sphinx-doc/alabaster/tree/%s", "%s"),
16 "bug": ("https://github.com/sphinx-doc/alabaster/issues/%s", "#%s"),
17 "feature": ("https://github.com/sphinx-doc/alabaster/issues/%s", "#%s"),
18 "issue": ("https://github.com/sphinx-doc/alabaster/issues/%s", "#%s"),
19 }
20
21 html_theme = "alabaster"
22 html_sidebars = {
23 "**": [
24 "about.html",
25 "searchfield.html",
26 "navigation.html",
27 "relations.html",
28 "donate.html",
29 ]
30 }
31 html_theme_options = {
32 "description": "A light, configurable Sphinx theme",
33 "github_user": "sphinx-doc",
34 "github_repo": "alabaster",
35 "fixed_sidebar": True,
36 "tidelift_url": "https://tidelift.com/subscription/pkg/pypi-alabaster?utm_source=pypi-alabaster&utm_medium=referral&utm_campaign=docs", # noqa
37 "github_banner": True,
38 }