|
11 | 11 | # All configuration values have a default; values that are commented out |
12 | 12 | # serve to show the default. |
13 | 13 |
|
14 | | -import sys, os |
| 14 | +import os |
| 15 | +import sys |
15 | 16 |
|
16 | 17 | # If extensions (or modules to document with autodoc) are in another directory, |
17 | 18 | # add these directories to sys.path here. If the directory is relative to the |
18 | 19 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
19 | | -#sys.path.insert(0, os.path.abspath('.')) |
| 20 | +# sys.path.insert(0, os.path.abspath('.')) |
20 | 21 |
|
21 | 22 | # -- General configuration ----------------------------------------------------- |
22 | 23 |
|
23 | 24 | # If your documentation needs a minimal Sphinx version, state it here. |
24 | | -#needs_sphinx = '1.0' |
| 25 | +# needs_sphinx = '1.0' |
25 | 26 |
|
26 | 27 | # Add any Sphinx extension module names here, as strings. They can be extensions |
27 | 28 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
28 | | -extensions = ['sphinx.ext.autodoc','sphinx.ext.napoleon'] |
| 29 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon"] |
29 | 30 |
|
30 | 31 | # Add any paths that contain templates here, relative to this directory. |
31 | | -templates_path = ['_templates'] |
| 32 | +templates_path = ["_templates"] |
32 | 33 |
|
33 | 34 | # The suffix of source filenames. |
34 | | -source_suffix = '.rst' |
| 35 | +source_suffix = ".rst" |
35 | 36 |
|
36 | 37 | # The encoding of source files. |
37 | | -#source_encoding = 'utf-8-sig' |
| 38 | +# source_encoding = 'utf-8-sig' |
38 | 39 |
|
39 | 40 | # The master toctree document. |
40 | | -master_doc = 'index' |
| 41 | +master_doc = "index" |
41 | 42 |
|
42 | 43 | # General information about the project. |
43 | | -project = u'pyOptimalEstimation' |
44 | | -copyright = u'2021, M. Maahn' |
| 44 | +project = "pyOptimalEstimation" |
| 45 | +copyright = "2021, M. Maahn" |
45 | 46 |
|
46 | 47 | # The version info for the project you're documenting, acts as replacement for |
47 | 48 | # |version| and |release|, also used in various other places throughout the |
|
51 | 52 |
|
52 | 53 | try: |
53 | 54 | from importlib.metadata import version |
54 | | -except ImportError: # for Pyton 3.6 and 3.7 |
| 55 | +except ImportError: # for Pyton 3.6 and 3.7 |
55 | 56 | from importlib_metadata import version |
56 | 57 |
|
57 | | -release = version('pyOptimalEstimation') |
58 | | -version = '.'.join(release.split('.')[:2]) |
| 58 | +release = version("pyOptimalEstimation") |
| 59 | +version = ".".join(release.split(".")[:2]) |
59 | 60 |
|
60 | 61 | # The language for content autogenerated by Sphinx. Refer to documentation |
61 | 62 | # for a list of supported languages. |
62 | | -#language = None |
| 63 | +# language = None |
63 | 64 |
|
64 | 65 | # There are two options for replacing |today|: either, you set today to some |
65 | 66 | # non-false value, then it is used: |
66 | | -#today = '' |
| 67 | +# today = '' |
67 | 68 | # Else, today_fmt is used as the format for a strftime call. |
68 | | -#today_fmt = '%B %d, %Y' |
| 69 | +# today_fmt = '%B %d, %Y' |
69 | 70 |
|
70 | 71 | # List of patterns, relative to source directory, that match files and |
71 | 72 | # directories to ignore when looking for source files. |
72 | | -exclude_patterns = ['_build'] |
| 73 | +exclude_patterns = ["_build"] |
73 | 74 |
|
74 | 75 | # The reST default role (used for this markup: `text`) to use for all documents. |
75 | | -#default_role = None |
| 76 | +# default_role = None |
76 | 77 |
|
77 | 78 | # If true, '()' will be appended to :func: etc. cross-reference text. |
78 | | -#add_function_parentheses = True |
| 79 | +# add_function_parentheses = True |
79 | 80 |
|
80 | 81 | # If true, the current module name will be prepended to all description |
81 | 82 | # unit titles (such as .. function::). |
82 | | -#add_module_names = True |
| 83 | +# add_module_names = True |
83 | 84 |
|
84 | 85 | # If true, sectionauthor and moduleauthor directives will be shown in the |
85 | 86 | # output. They are ignored by default. |
86 | | -#show_authors = False |
| 87 | +# show_authors = False |
87 | 88 |
|
88 | 89 | # The name of the Pygments (syntax highlighting) style to use. |
89 | | -pygments_style = 'sphinx' |
| 90 | +pygments_style = "sphinx" |
90 | 91 |
|
91 | 92 | # A list of ignored prefixes for module index sorting. |
92 | | -#modindex_common_prefix = [] |
| 93 | +# modindex_common_prefix = [] |
93 | 94 |
|
94 | 95 |
|
95 | 96 | # -- Options for HTML output --------------------------------------------------- |
96 | 97 |
|
97 | 98 | # The theme to use for HTML and HTML Help pages. See the documentation for |
98 | 99 | # a list of builtin themes. |
99 | | -html_theme = 'alabaster' |
| 100 | +html_theme = "alabaster" |
100 | 101 |
|
101 | 102 | # Theme options are theme-specific and customize the look and feel of a theme |
102 | 103 | # further. For a list of options available for each theme, see the |
103 | 104 | # documentation. |
104 | | -#html_theme_options = {} |
| 105 | +# html_theme_options = {} |
105 | 106 |
|
106 | 107 | # Add any paths that contain custom themes here, relative to this directory. |
107 | | -#html_theme_path = [] |
| 108 | +# html_theme_path = [] |
108 | 109 |
|
109 | 110 | # The name for this set of Sphinx documents. If None, it defaults to |
110 | 111 | # "<project> v<release> documentation". |
111 | | -#html_title = None |
| 112 | +# html_title = None |
112 | 113 |
|
113 | 114 | # A shorter title for the navigation bar. Default is the same as html_title. |
114 | | -#html_short_title = None |
| 115 | +# html_short_title = None |
115 | 116 |
|
116 | 117 | # The name of an image file (relative to this directory) to place at the top |
117 | 118 | # of the sidebar. |
118 | | -#html_logo = None |
| 119 | +# html_logo = None |
119 | 120 |
|
120 | 121 | # The name of an image file (within the static path) to use as favicon of the |
121 | 122 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
122 | 123 | # pixels large. |
123 | | -#html_favicon = None |
| 124 | +# html_favicon = None |
124 | 125 |
|
125 | 126 | # Add any paths that contain custom static files (such as style sheets) here, |
126 | 127 | # relative to this directory. They are copied after the builtin static files, |
127 | 128 | # so a file named "default.css" will overwrite the builtin "default.css". |
128 | | -html_static_path = ['_static'] |
| 129 | +html_static_path = ["_static"] |
129 | 130 |
|
130 | 131 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
131 | 132 | # using the given strftime format. |
132 | | -#html_last_updated_fmt = '%b %d, %Y' |
| 133 | +# html_last_updated_fmt = '%b %d, %Y' |
133 | 134 |
|
134 | 135 | # If true, SmartyPants will be used to convert quotes and dashes to |
135 | 136 | # typographically correct entities. |
136 | | -#html_use_smartypants = True |
| 137 | +# html_use_smartypants = True |
137 | 138 |
|
138 | 139 | # Custom sidebar templates, maps document names to template names. |
139 | | -#html_sidebars = {} |
| 140 | +# html_sidebars = {} |
140 | 141 |
|
141 | 142 | # Additional templates that should be rendered to pages, maps page names to |
142 | 143 | # template names. |
143 | | -#html_additional_pages = {} |
| 144 | +# html_additional_pages = {} |
144 | 145 |
|
145 | 146 | # If false, no module index is generated. |
146 | | -#html_domain_indices = True |
| 147 | +# html_domain_indices = True |
147 | 148 |
|
148 | 149 | # If false, no index is generated. |
149 | | -#html_use_index = True |
| 150 | +# html_use_index = True |
150 | 151 |
|
151 | 152 | # If true, the index is split into individual pages for each letter. |
152 | | -#html_split_index = False |
| 153 | +# html_split_index = False |
153 | 154 |
|
154 | 155 | # If true, links to the reST sources are added to the pages. |
155 | | -#html_show_sourcelink = True |
| 156 | +# html_show_sourcelink = True |
156 | 157 |
|
157 | 158 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
158 | | -#html_show_sphinx = True |
| 159 | +# html_show_sphinx = True |
159 | 160 |
|
160 | 161 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
161 | | -#html_show_copyright = True |
| 162 | +# html_show_copyright = True |
162 | 163 |
|
163 | 164 | # If true, an OpenSearch description file will be output, and all pages will |
164 | 165 | # contain a <link> tag referring to it. The value of this option must be the |
165 | 166 | # base URL from which the finished HTML is served. |
166 | | -#html_use_opensearch = '' |
| 167 | +# html_use_opensearch = '' |
167 | 168 |
|
168 | 169 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
169 | | -#html_file_suffix = None |
| 170 | +# html_file_suffix = None |
170 | 171 |
|
171 | 172 | # Output file base name for HTML help builder. |
172 | | -htmlhelp_basename = 'pyOptimalEstimationdoc' |
| 173 | +htmlhelp_basename = "pyOptimalEstimationdoc" |
173 | 174 |
|
174 | 175 |
|
175 | 176 | # -- Options for LaTeX output -------------------------------------------------- |
176 | 177 |
|
177 | 178 | latex_elements = { |
178 | | -# The paper size ('letterpaper' or 'a4paper'). |
179 | | -#'papersize': 'letterpaper', |
180 | | - |
181 | | -# The font size ('10pt', '11pt' or '12pt'). |
182 | | -#'pointsize': '10pt', |
183 | | - |
184 | | -# Additional stuff for the LaTeX preamble. |
185 | | -#'preamble': '', |
| 179 | + # The paper size ('letterpaper' or 'a4paper'). |
| 180 | + #'papersize': 'letterpaper', |
| 181 | + # The font size ('10pt', '11pt' or '12pt'). |
| 182 | + #'pointsize': '10pt', |
| 183 | + # Additional stuff for the LaTeX preamble. |
| 184 | + #'preamble': '', |
186 | 185 | } |
187 | 186 |
|
188 | 187 | # Grouping the document tree into LaTeX files. List of tuples |
189 | 188 | # (source start file, target name, title, author, documentclass [howto/manual]). |
190 | 189 | latex_documents = [ |
191 | | - ('index', 'pyOptimalEstimation.tex', u'pyOptimalEstimation Documentation', |
192 | | - u'M. Maahn', 'manual'), |
| 190 | + ( |
| 191 | + "index", |
| 192 | + "pyOptimalEstimation.tex", |
| 193 | + "pyOptimalEstimation Documentation", |
| 194 | + "M. Maahn", |
| 195 | + "manual", |
| 196 | + ), |
193 | 197 | ] |
194 | 198 |
|
195 | 199 | # The name of an image file (relative to this directory) to place at the top of |
196 | 200 | # the title page. |
197 | | -#latex_logo = None |
| 201 | +# latex_logo = None |
198 | 202 |
|
199 | 203 | # For "manual" documents, if this is true, then toplevel headings are parts, |
200 | 204 | # not chapters. |
201 | | -#latex_use_parts = False |
| 205 | +# latex_use_parts = False |
202 | 206 |
|
203 | 207 | # If true, show page references after internal links. |
204 | | -#latex_show_pagerefs = False |
| 208 | +# latex_show_pagerefs = False |
205 | 209 |
|
206 | 210 | # If true, show URL addresses after external links. |
207 | | -#latex_show_urls = False |
| 211 | +# latex_show_urls = False |
208 | 212 |
|
209 | 213 | # Documents to append as an appendix to all manuals. |
210 | | -#latex_appendices = [] |
| 214 | +# latex_appendices = [] |
211 | 215 |
|
212 | 216 | # If false, no module index is generated. |
213 | | -#latex_domain_indices = True |
| 217 | +# latex_domain_indices = True |
214 | 218 |
|
215 | 219 |
|
216 | 220 | # -- Options for manual page output -------------------------------------------- |
217 | 221 |
|
218 | 222 | # One entry per manual page. List of tuples |
219 | 223 | # (source start file, name, description, authors, manual section). |
220 | 224 | man_pages = [ |
221 | | - ('index', 'pyoptimalestimation', u'pyOptimalEstimation Documentation', |
222 | | - [u'M. Maahn'], 1) |
| 225 | + ( |
| 226 | + "index", |
| 227 | + "pyoptimalestimation", |
| 228 | + "pyOptimalEstimation Documentation", |
| 229 | + ["M. Maahn"], |
| 230 | + 1, |
| 231 | + ) |
223 | 232 | ] |
224 | 233 |
|
225 | 234 | # If true, show URL addresses after external links. |
226 | | -#man_show_urls = False |
| 235 | +# man_show_urls = False |
227 | 236 |
|
228 | 237 |
|
229 | 238 | # -- Options for Texinfo output ------------------------------------------------ |
|
232 | 241 | # (source start file, target name, title, author, |
233 | 242 | # dir menu entry, description, category) |
234 | 243 | texinfo_documents = [ |
235 | | - ('index', 'pyOptimalEstimation', u'pyOptimalEstimation Documentation', |
236 | | - u'M. Maahn', 'pyOptimalEstimation', 'One line description of project.', |
237 | | - 'Miscellaneous'), |
| 244 | + ( |
| 245 | + "index", |
| 246 | + "pyOptimalEstimation", |
| 247 | + "pyOptimalEstimation Documentation", |
| 248 | + "M. Maahn", |
| 249 | + "pyOptimalEstimation", |
| 250 | + "One line description of project.", |
| 251 | + "Miscellaneous", |
| 252 | + ), |
238 | 253 | ] |
239 | 254 |
|
240 | 255 | # Documents to append as an appendix to all manuals. |
241 | | -#texinfo_appendices = [] |
| 256 | +# texinfo_appendices = [] |
242 | 257 |
|
243 | 258 | # If false, no module index is generated. |
244 | | -#texinfo_domain_indices = True |
| 259 | +# texinfo_domain_indices = True |
245 | 260 |
|
246 | 261 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
247 | | -#texinfo_show_urls = 'footnote' |
| 262 | +# texinfo_show_urls = 'footnote' |
0 commit comments