16
16
import sphinx_rtd_theme
17
17
import sphinx_autopackagesummary
18
18
19
+ from siibra import __version__ as siibra_version
20
+
19
21
os .environ ['SIIBRA_LOG_LEVEL' ] = "ERROR"
20
22
sys .path .insert (0 , os .path .abspath (".." ))
21
23
print ("Path:" , sys .path )
26
28
project = "siibra-python"
27
29
copyright = "2020-2023, Forschungszentrum Juelich GmbH"
28
30
author = "Big Data Analytics Group, Institute of Neuroscience and Medicine, Forschungszentrum Juelich GmbH"
29
-
31
+ language = 'en'
32
+ version = siibra_version
30
33
31
34
# -- General configuration ---------------------------------------------------
32
35
87
90
"filename_pattern" : r"^.*.py" , # which files to execute and include their outputs
88
91
"capture_repr" : ("_repr_html_" , "__repr__" ),
89
92
"within_subsection_order" : FileNameSortKey ,
93
+ "remove_config_comments" : True ,
94
+ "show_signature" : False ,
90
95
}
91
96
92
97
# List of patterns, relative to source directory, that match files and
120
125
121
126
# overriding some styles in a custom CSS
122
127
html_css_files = ["siibra.css" ]
128
+ # other html details
123
129
html_show_sourcelink = False
124
- html_logo = "../images /siibra-python.jpeg"
130
+ html_logo = "_static /siibra-python.jpeg"
125
131
html_permalinks = False
126
132
127
133
source_suffix = [".rst" ]
128
134
129
135
autoclass_content = 'both'
130
136
131
- # -- Sphinxext configuration --------------------------------------------------
132
-
133
- # Set attributes for layout of inheritance diagrams
134
- inheritance_graph_attrs = dict (rankdir = 'LR' , size = '"6.0, 8.0"' , fontsize = 14 , ratio = 'compress' )
135
- inheritance_node_attrs = dict (
136
- shape = 'ellipse' , fontsize = 14 , height = 0.75 , color = 'dodgerblue1' , style = 'filled'
137
- )
138
-
139
137
# Example configuration for intersphinx: refer to the Python standard library.
140
- #intersphinx_mapping = {'https://docs.python.org/3/': None}
138
+ #intersphinx_mapping = {'https://docs.python.org/3/': None}
139
+
140
+ # -- Sphinxext configuration --------------------------------------------------
0 commit comments