Commit 69efeef 1 parent 0d22ba7 commit 69efeef Copy full SHA for 69efeef
File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ import os
2
+
1
3
project = 'ASGARD Security Center v2 Manual'
2
4
version = "2.0"
3
5
copyright = '2023, Nextron Systems GmbH'
4
6
author = 'Nextron Systems'
5
7
extensions = [
6
8
'sphinx.ext.autosectionlabel' ,
7
- 'sphinx_rtd_theme'
8
9
]
9
10
templates_path = ['_templates' ]
10
11
source_suffix = '.rst'
20
21
html_favicon = "images/html/favicon.ico"
21
22
html_static_path = ['_static' ]
22
23
html_css_files = ['css/custom.css' ,]
24
+ html_baseurl = os .environ .get ("READTHEDOCS_CANONICAL_URL" , "" )
25
+ if os .environ .get ("READTHEDOCS" , "" ) == "True" :
26
+ if "html_context" not in globals ():
27
+ html_context = {}
28
+ html_context ["READTHEDOCS" ] = True
29
+
23
30
epub_title = project
24
31
epub_exclude_files = ['search.html' ]
25
32
intersphinx_mapping = {'https://docs.python.org/' : None }
You can’t perform that action at this time.
0 commit comments