File: conf.py

package info (click to toggle)
sphinx-multiversion 0.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 228 kB
  • sloc: python: 767; makefile: 12
file content (43 lines) | stat: -rw-r--r-- 887 bytes parent folder | download
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
39
40
41
42
43
# -*- coding: utf-8 -*-
"""Sphinx configuration file."""
import time

author = "Jan Holthuis"
project = "sphinx-multiversion"
release = "0.2.4"
version = "0.2"
copyright = "{}, {}".format(time.strftime("%Y"), author)

html_theme = "alabaster"
html_theme_options = {
    "github_repo": "sphinx-multiversion",
    "github_user": "Holzhaus",
    "github_banner": True,
    "github_button": True,
    "travis_button": True,
    "show_relbar_bottom": True,
}
html_last_updated_fmt = "%c"
master_doc = "index"
pygments_style = "friendly"
templates_path = ["_templates"]
extensions = [
    "sphinx_multiversion",
]

templates_path = [
    "_templates",
]

html_sidebars = {
    "**": [
        "about.html",
        "navigation.html",
        "relations.html",
        "searchbox.html",
        "versioning.html",
    ],
}

smv_remote_whitelist = r"^origin$"
smv_branch_whitelist = r"^master$"