conf.py

Sphinx configuration file used to build this docs:

conf.py
 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
# Default settings
project = 'Test Builds'
extensions = [
    'sphinx_autorun',
    'notfound.extension',
    'hoverxref.extension',
    'sphinx_js',
    'sphinx_tabs.tabs',
    'sphinx_jinja2',
    'sphinx_immaterial',
]

latex_engine = 'xelatex'  # allow us to build Unicode chars

autosectionlabel_prefix_document = True
hoverxref_auto_ref = True
hoverxref_roles = [
    'term',
]

# Include all your settings here
html_theme = 'sphinx_immaterial'

js_source_path = '../src/'
html_extra_path = ['static']
html_context = {
    "comment": "This comment is injected manually as a test.",
}

jinja2_env_kwargs = {
    "extensions": ["jinja2.ext.loopcontrols"],
}