-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.py
38 lines (37 loc) · 1.17 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
import os
project = 'THOR Thunderstorm Manual'
version="1.0"
copyright = '2024, Nextron Systems GmbH'
author = 'Nextron Systems GmbH'
extensions = [
'sphinx.ext.autosectionlabel',
'sphinxcontrib.openapi',
]
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
language = "en"
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '.venv/*']
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'prev_next_buttons_location': 'both',
'style_external_links': True
}
html_logo = "images/html/thor-thunderstorm-logo.png"
html_favicon = "images/html/favicon.ico"
html_static_path = ['_static']
html_css_files = ['css/custom.css',]
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
if os.environ.get("READTHEDOCS", "") == "True":
if "html_context" not in globals():
html_context = {}
html_context["READTHEDOCS"] = True
html_show_sourcelink = False
epub_title = project
epub_exclude_files = ['search.html']
intersphinx_mapping = {'https://docs.python.org/': None}
smartquotes = False
autosectionlabel_prefix_document = True
autosectionlabel_maxdepth = 3
# disable epub mimetype warnings
suppress_warnings = ["epub.unknown_project_files"]