|
18 | 18 | # If extensions (or modules to document with autodoc) are in another directory, |
19 | 19 | # add these directories to sys.path here. If the directory is relative to the |
20 | 20 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
21 | | -#sys.path.insert(0, os.path.abspath('.')) |
| 21 | +# sys.path.insert(0, os.path.abspath('.')) |
22 | 22 |
|
23 | 23 | # -- General configuration ----------------------------------------------------- |
24 | 24 |
|
25 | 25 | # If your documentation needs a minimal Sphinx version, state it here. |
26 | | -#needs_sphinx = '1.3' |
| 26 | +# needs_sphinx = '1.3' |
27 | 27 |
|
28 | 28 | sys.path.append(os.path.abspath("..")) |
29 | 29 | sys.path.append(os.path.abspath(".\\_themes")) |
30 | 30 | sys.path.append(os.path.abspath("..\\tests")) |
31 | 31 | sys.path.append(os.path.abspath("..\\network_generator")) |
32 | 32 | # Add any Sphinx extension module names here, as strings. They can be extensions |
33 | 33 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
34 | | -extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.mathjax', 'sphinx.ext.autodoc', 'numpydoc', |
35 | | - 'sphinx.ext.autosummary'] #sphinx.ext.mathjax and sphinx.ext.imgmath don't comply with each other anymore., pngmath will be replaced by imgmath in new sphinx version |
| 34 | +extensions = [ |
| 35 | + "sphinx.ext.intersphinx", |
| 36 | + "sphinx.ext.mathjax", |
| 37 | + "sphinx.ext.autodoc", |
| 38 | + "numpydoc", |
| 39 | + "sphinx.ext.autosummary", |
| 40 | +] # sphinx.ext.mathjax and sphinx.ext.imgmath don't comply with each other anymore., pngmath will be replaced by imgmath in new sphinx version |
36 | 41 |
|
37 | 42 | # Add any paths that contain templates here, relative to this directory. |
38 | | -templates_path = ['_templates'] |
| 43 | +templates_path = ["_templates"] |
39 | 44 |
|
40 | 45 | # The suffix of source filenames. |
41 | | -source_suffix = '.rst' |
| 46 | +source_suffix = ".rst" |
42 | 47 |
|
43 | 48 | # load pyproject.toml configuration |
44 | 49 | config = SphinxConfig("../pyproject.toml") |
45 | 50 |
|
46 | 51 | # The encoding of source files. |
47 | | -#source_encoding = 'utf-8-sig' |
| 52 | +# source_encoding = 'utf-8-sig' |
48 | 53 |
|
49 | 54 | # The master toctree document. |
50 | | -master_doc = 'index' |
| 55 | +master_doc = "index" |
51 | 56 |
|
52 | 57 | # General information about the project. |
53 | 58 | project = config.name |
54 | | -copyright = u'2015-2024 by Fraunhofer IEE and University of Kassel' |
| 59 | +copyright = "2015-2025 by Fraunhofer IEE and University of Kassel" |
55 | 60 |
|
56 | 61 | # The version info for the project you're documenting, acts as replacement for |
57 | 62 | # |version| and |release|, also used in various other places throughout the |
|
64 | 69 |
|
65 | 70 | # The language for content autogenerated by Sphinx. Refer to documentation |
66 | 71 | # for a list of supported languages. |
67 | | -#language = None |
| 72 | +# language = None |
68 | 73 |
|
69 | 74 | # There are two options for replacing |today|: either, you set today to some |
70 | 75 | # non-false value, then it is used: |
71 | | -#today = '' |
| 76 | +# today = '' |
72 | 77 | # Else, today_fmt is used as the format for a strftime call. |
73 | | -#today_fmt = '%B %d, %Y' |
| 78 | +# today_fmt = '%B %d, %Y' |
74 | 79 |
|
75 | 80 | # List of patterns, relative to source directory, that match files and |
76 | 81 | # directories to ignore when looking for source files. |
77 | | -exclude_patterns = ['_build', '**.ipynb_checkpoints'] |
| 82 | +exclude_patterns = ["_build", "**.ipynb_checkpoints"] |
78 | 83 |
|
79 | 84 | # The reST default role (used for this markup: `text`) to use for all documents. |
80 | | -#default_role = None |
| 85 | +# default_role = None |
81 | 86 |
|
82 | 87 | # If true, '()' will be appended to :func: etc. cross-reference text. |
83 | | -#add_function_parentheses = True |
| 88 | +# add_function_parentheses = True |
84 | 89 |
|
85 | 90 | # If true, the current module name will be prepended to all description |
86 | 91 | # unit titles (such as .. function::). |
87 | | -#add_module_names = True |
| 92 | +# add_module_names = True |
88 | 93 |
|
89 | 94 | # If true, sectionauthor and moduleauthor directives will be shown in the |
90 | 95 | # output. They are ignored by default. |
91 | | -#show_authors = False |
| 96 | +# show_authors = False |
92 | 97 |
|
93 | 98 | # The name of the Pygments (syntax highlighting) style to use. |
94 | | -pygments_style = 'sphinx' |
| 99 | +pygments_style = "sphinx" |
95 | 100 |
|
96 | 101 | # A list of ignored prefixes for module index sorting. |
97 | | -#modindex_common_prefix = [] |
| 102 | +# modindex_common_prefix = [] |
98 | 103 |
|
99 | 104 |
|
100 | 105 | # -- Options for HTML output --------------------------------------------------- |
|
107 | 112 | # Theme options are theme-specific and customize the look and feel of a theme |
108 | 113 | # further. For a list of options available for each theme, see the |
109 | 114 | # documentation. |
110 | | -#html_theme_options = {} |
| 115 | +# html_theme_options = {} |
111 | 116 |
|
112 | 117 | # Add any paths that contain custom themes here, relative to this directory. |
113 | 118 | html_theme_path = ["_themes"] |
114 | 119 |
|
115 | 120 | # The name for this set of Sphinx documents. If None, it defaults to |
116 | 121 | # "<project> v<release> documentation". |
117 | | -#html_title = None |
| 122 | +# html_title = None |
118 | 123 |
|
119 | 124 | # A shorter title for the navigation bar. Default is the same as html_title. |
120 | | -#html_short_title = None |
| 125 | +# html_short_title = None |
121 | 126 |
|
122 | 127 | # The name of an image file (relative to this directory) to place at the top |
123 | 128 | # of the sidebar. |
124 | | -#html_logo = None |
| 129 | +# html_logo = None |
125 | 130 |
|
126 | 131 | # The name of an image file (within the static path) to use as favicon of the |
127 | 132 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
128 | 133 | # pixels large. |
129 | | -#html_favicon = None |
| 134 | +# html_favicon = None |
130 | 135 |
|
131 | 136 | # Add any paths that contain custom static files (such as style sheets) here, |
132 | 137 | # relative to this directory. They are copied after the builtin static files, |
|
135 | 140 |
|
136 | 141 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
137 | 142 | # using the given strftime format. |
138 | | -#html_last_updated_fmt = '%b %d, %Y' |
| 143 | +# html_last_updated_fmt = '%b %d, %Y' |
139 | 144 |
|
140 | 145 | # If true, SmartyPants will be used to convert quotes and dashes to |
141 | 146 | # typographically correct entities. |
142 | | -#html_use_smartypants = True |
| 147 | +# html_use_smartypants = True |
143 | 148 |
|
144 | 149 | # Custom sidebar templates, maps document names to template names. |
145 | | -#html_sidebars = {} |
| 150 | +# html_sidebars = {} |
146 | 151 |
|
147 | 152 | # Additional templates that should be rendered to pages, maps page names to |
148 | 153 | # template names. |
149 | | -#html_additional_pages = {} |
| 154 | +# html_additional_pages = {} |
150 | 155 |
|
151 | 156 | # If false, no module index is generated. |
152 | | -#html_domain_indices = True |
| 157 | +# html_domain_indices = True |
153 | 158 |
|
154 | 159 | # If false, no index is generated. |
155 | | -#html_use_index = True |
| 160 | +# html_use_index = True |
156 | 161 |
|
157 | 162 | # If true, the index is split into individual pages for each letter. |
158 | | -#html_split_index = False |
| 163 | +# html_split_index = False |
159 | 164 |
|
160 | 165 | # If true, links to the reST sources are added to the pages. |
161 | | -#html_show_sourcelink = True |
| 166 | +# html_show_sourcelink = True |
162 | 167 |
|
163 | 168 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
164 | | -#html_show_sphinx = True |
| 169 | +# html_show_sphinx = True |
165 | 170 |
|
166 | 171 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
167 | | -#html_show_copyright = True |
| 172 | +# html_show_copyright = True |
168 | 173 |
|
169 | 174 | # If true, an OpenSearch description file will be output, and all pages will |
170 | 175 | # contain a <link> tag referring to it. The value of this option must be the |
171 | 176 | # base URL from which the finished HTML is served. |
172 | | -#html_use_opensearch = '' |
| 177 | +# html_use_opensearch = '' |
173 | 178 |
|
174 | 179 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
175 | | -#html_file_suffix = None |
| 180 | +# html_file_suffix = None |
176 | 181 |
|
177 | 182 | # Output file base name for HTML help builder. |
178 | | -htmlhelp_basename = 'sb_doc' |
| 183 | +htmlhelp_basename = "sb_doc" |
179 | 184 |
|
180 | 185 |
|
181 | 186 | # -- Options for manual page output -------------------------------------------- |
182 | 187 |
|
183 | 188 | # One entry per manual page. List of tuples |
184 | 189 | # (source start file, name, description, authors, manual section). |
185 | 190 | man_pages = [ |
186 | | - ('index', 'jsonpy', u'jsonpy Documentation', |
187 | | - ['Fraunhofer IEE', 'Kassel University'], 1) |
| 191 | + ( |
| 192 | + "index", |
| 193 | + "jsonpy", |
| 194 | + "jsonpy Documentation", |
| 195 | + ["Fraunhofer IEE", "Kassel University"], |
| 196 | + 1, |
| 197 | + ) |
188 | 198 | ] |
189 | 199 |
|
190 | 200 | # If true, show URL addresses after external links. |
191 | | -#man_show_urls = False |
| 201 | +# man_show_urls = False |
0 commit comments