-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
executable file
·45 lines (36 loc) · 1.08 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
import os
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.imgmath',
'sphinx.ext.viewcode',
'sphinx.ext.autosummary'
]
source_suffix = '.rst'
master_doc = 'index'
project = 'STUDIO 1'
version = u'SOFIA'
release = 'SOFIA'
copyright = 'CBMAK 2017'
author = 'Rumen Lishkov'
#templates_path = ['_templates']
exclude_patterns = ['_build', '.idea', '.project', 'Thumbs.db', '.DS_Store']
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# If truetodo and todoList produce output, else they produce nothing.
todo_include_todos = True
# -- Options for HTMLHelp output ------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_static_path = ['static']
#html_theme_path = ["_themes", ]
# Theme style override
# Output file base name for HTML help builder.
#htmlhelp_basename = 'STUDIO 1'
if os.environ.get('READTHEDOCS') == 'True':
style_file = '_static/theme.css'
else:
html_style = 'theme.css'
style_file = '_static/css/theme.css'
html_context = {
'css_files': [style_file]
}