-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.py
50 lines (36 loc) · 1.05 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Configuration file for the Sphinx documentation builder.
# -- Project information
project = 'OS2Valghalla'
copyright = 'Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)'
# URL for custom footer copyright and license
html_context = {
'copyright_url': 'https://creativecommons.org/licenses/by-sa/4.0/'
}
author = 'OS2'
release = '0.1'
version = '0.1.0'
# -- General configuration
extensions = [
'sphinx.ext.duration',
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
]
intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
}
intersphinx_disabled_domains = ['std']
templates_path = ['_templates']
html_static_path = ['_static']
html_css_files = ['custom.css']
# -- Options for HTML output
html_theme = 'sphinx_rtd_theme'
html_theme_path = ["_themes", ]
# -- Depth of sidebar navigation
html_theme_options = {
'navigation_depth': 4,
}
# -- Options for EPUB output
epub_show_urls = 'footnote'