|
22 | 22 | # If extensions (or modules to document with autodoc) are in another directory, |
23 | 23 | # add these directories to sys.path here. If the directory is relative to the |
24 | 24 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
25 | | -sys.path.insert(0, os.path.abspath('../..')) |
| 25 | +sys.path.insert(0, os.path.abspath("../..")) |
26 | 26 | import pydmd |
27 | 27 |
|
28 | 28 | # -- General configuration ------------------------------------------------ |
29 | 29 |
|
30 | 30 | # If your documentation needs a minimal Sphinx version, state it here. |
31 | | -needs_sphinx = '1.4' |
| 31 | +needs_sphinx = "1.4" |
32 | 32 | if needs_sphinx > sphinx.__display_version__: |
33 | | - message = 'This project needs at least Sphinx v{0!s}'.format(needs_sphinx) |
| 33 | + message = "This project needs at least Sphinx v{0!s}".format(needs_sphinx) |
34 | 34 | raise VersionRequirementError(message) |
35 | 35 |
|
36 | 36 | # Add any Sphinx extension module names here, as strings. They can be |
37 | 37 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
38 | 38 | # ones. |
39 | 39 | extensions = [ |
40 | | - 'sphinx.ext.autodoc', |
41 | | - 'sphinx.ext.autosummary', |
42 | | - 'sphinx.ext.coverage', |
43 | | - 'sphinx.ext.graphviz', |
44 | | - 'sphinx.ext.doctest', |
45 | | - 'sphinx.ext.intersphinx', |
46 | | - 'sphinx.ext.todo', |
47 | | - 'sphinx.ext.coverage', |
48 | | - 'sphinx.ext.viewcode', |
49 | | - 'sphinx.ext.imgmath', |
50 | | - 'sphinx.ext.ifconfig', |
51 | | - 'sphinx.ext.mathjax', |
| 40 | + "sphinx.ext.autodoc", |
| 41 | + "sphinx.ext.autosummary", |
| 42 | + "sphinx.ext.coverage", |
| 43 | + "sphinx.ext.graphviz", |
| 44 | + "sphinx.ext.doctest", |
| 45 | + "sphinx.ext.intersphinx", |
| 46 | + "sphinx.ext.todo", |
| 47 | + "sphinx.ext.coverage", |
| 48 | + "sphinx.ext.viewcode", |
| 49 | + "sphinx.ext.imgmath", |
| 50 | + "sphinx.ext.ifconfig", |
| 51 | + "sphinx.ext.mathjax", |
52 | 52 | ] |
53 | 53 |
|
54 | | -intersphinx_mapping = {'python': ('http://docs.python.org/2', None), |
55 | | - 'numpy': ('http://docs.scipy.org/doc/numpy/', None), |
56 | | - 'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None), |
57 | | - 'matplotlib': ('http://matplotlib.sourceforge.net/', None)} |
| 54 | +intersphinx_mapping = { |
| 55 | + "python": ("http://docs.python.org/2", None), |
| 56 | + "numpy": ("http://docs.scipy.org/doc/numpy/", None), |
| 57 | + "scipy": ("http://docs.scipy.org/doc/scipy/reference/", None), |
| 58 | + "matplotlib": ("http://matplotlib.sourceforge.net/", None), |
| 59 | +} |
58 | 60 |
|
59 | 61 | # Add any paths that contain templates here, relative to this directory. |
60 | | -templates_path = ['_templates'] |
| 62 | +templates_path = ["_templates"] |
61 | 63 |
|
62 | 64 | # The suffix(es) of source filenames. |
63 | 65 | # You can specify multiple suffix as a list of string: |
64 | 66 | # source_suffix = ['.rst', '.md'] |
65 | | -source_suffix = '.rst' |
| 67 | +source_suffix = ".rst" |
66 | 68 |
|
67 | 69 | # The encoding of source files. |
68 | | -#source_encoding = 'utf-8-sig' |
| 70 | +# source_encoding = 'utf-8-sig' |
69 | 71 |
|
70 | 72 | # The master toctree document. |
71 | | -master_doc = 'index' |
| 73 | +master_doc = "index" |
72 | 74 |
|
73 | 75 | # General information about the project. |
74 | | -project = u'PyDMD' |
| 76 | +project = "PyDMD" |
75 | 77 | copyright = pydmd.__copyright__ |
76 | 78 | author = pydmd.__author__ |
77 | 79 |
|
78 | 80 | # autoclass |
79 | | -autoclass_content = 'both' |
| 81 | +autoclass_content = "both" |
80 | 82 |
|
81 | 83 | # The version info for the project you're documenting, acts as replacement for |
82 | 84 | # |version| and |release|, also used in various other places throughout the |
|
96 | 98 |
|
97 | 99 | # There are two options for replacing |today|: either, you set today to some |
98 | 100 | # non-false value, then it is used: |
99 | | -#today = '' |
| 101 | +# today = '' |
100 | 102 | # Else, today_fmt is used as the format for a strftime call. |
101 | | -#today_fmt = '%B %d, %Y' |
| 103 | +# today_fmt = '%B %d, %Y' |
102 | 104 |
|
103 | 105 | # List of patterns, relative to source directory, that match files and |
104 | 106 | # directories to ignore when looking for source files. |
105 | 107 | exclude_patterns = [] |
106 | 108 |
|
107 | 109 | # The reST default role (used for this markup: `text`) to use for all |
108 | 110 | # documents. |
109 | | -#default_role = None |
| 111 | +# default_role = None |
110 | 112 |
|
111 | 113 | # If true, '()' will be appended to :func: etc. cross-reference text. |
112 | 114 | add_function_parentheses = True |
|
117 | 119 |
|
118 | 120 | # If true, sectionauthor and moduleauthor directives will be shown in the |
119 | 121 | # output. They are ignored by default. |
120 | | -#show_authors = False |
| 122 | +# show_authors = False |
121 | 123 |
|
122 | 124 | # The name of the Pygments (syntax highlighting) style to use. |
123 | | -pygments_style = 'sphinx' |
| 125 | +pygments_style = "sphinx" |
124 | 126 |
|
125 | 127 | # A list of ignored prefixes for module index sorting. |
126 | | -#modindex_common_prefix = [] |
| 128 | +# modindex_common_prefix = [] |
127 | 129 |
|
128 | 130 | # If true, keep warnings as "system message" paragraphs in the built documents. |
129 | 131 | keep_warnings = False |
|
145 | 147 |
|
146 | 148 | # The theme to use for HTML and HTML Help pages. See the documentation for |
147 | 149 | # a list of builtin themes. |
148 | | -#html_theme = 'bizstyle' |
| 150 | +# html_theme = 'bizstyle' |
149 | 151 | html_theme = "sphinx_rtd_theme" |
150 | 152 |
|
151 | 153 | # Theme options are theme-specific and customize the look and feel of a theme |
152 | 154 | # further. For a list of options available for each theme, see the |
153 | 155 | # documentation. |
154 | | -#html_theme_options = {} |
| 156 | +# html_theme_options = {} |
155 | 157 |
|
156 | 158 | # Add any paths that contain custom themes here, relative to this directory. |
157 | 159 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
158 | 160 |
|
159 | 161 | # The name for this set of Sphinx documents. If None, it defaults to |
160 | 162 | # "<project> v<release> documentation". |
161 | | -#html_title = None |
| 163 | +# html_title = None |
162 | 164 |
|
163 | 165 | # A shorter title for the navigation bar. Default is the same as html_title. |
164 | | -#html_short_title = None |
| 166 | +# html_short_title = None |
165 | 167 |
|
166 | 168 | # The name of an image file (relative to this directory) to place at the top |
167 | 169 | # of the sidebar. |
168 | | -#html_logo = None |
| 170 | +# html_logo = None |
169 | 171 |
|
170 | 172 | # The name of an image file (within the static path) to use as favicon of the |
171 | 173 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
172 | 174 | # pixels large. |
173 | | -#html_favicon = None |
| 175 | +# html_favicon = None |
174 | 176 |
|
175 | 177 | # Add any paths that contain custom static files (such as style sheets) here, |
176 | 178 | # relative to this directory. They are copied after the builtin static files, |
177 | 179 | # so a file named "default.css" will overwrite the builtin "default.css". |
178 | | -html_static_path = ['_static'] |
| 180 | +html_static_path = ["_static"] |
179 | 181 |
|
180 | 182 | # Add any extra paths that contain custom files (such as robots.txt or |
181 | 183 | # .htaccess) here, relative to this directory. These files are copied |
182 | 184 | # directly to the root of the documentation. |
183 | | -html_extra_path = ['_tutorials'] |
| 185 | +html_extra_path = ["_tutorials"] |
184 | 186 |
|
185 | 187 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
186 | 188 | # using the given strftime format. |
187 | | -html_last_updated_fmt = '%b %d, %Y' |
| 189 | +html_last_updated_fmt = "%b %d, %Y" |
188 | 190 |
|
189 | 191 | # If true, SmartyPants will be used to convert quotes and dashes to |
190 | 192 | # typographically correct entities. |
191 | | -#html_use_smartypants = True |
| 193 | +# html_use_smartypants = True |
192 | 194 |
|
193 | 195 | # Custom sidebar templates, maps document names to template names. |
194 | | -#html_sidebars = {} |
| 196 | +# html_sidebars = {} |
195 | 197 |
|
196 | 198 | # Additional templates that should be rendered to pages, maps page names to |
197 | 199 | # template names. |
198 | | -#html_additional_pages = {} |
| 200 | +# html_additional_pages = {} |
199 | 201 |
|
200 | 202 | # If false, no module index is generated. |
201 | | -#html_domain_indices = True |
| 203 | +# html_domain_indices = True |
202 | 204 |
|
203 | 205 | # If false, no index is generated. |
204 | 206 | html_use_index = True |
205 | 207 |
|
206 | 208 | # If true, the index is split into individual pages for each letter. |
207 | | -#html_split_index = False |
| 209 | +# html_split_index = False |
208 | 210 |
|
209 | 211 | # If true, links to the reST sources are added to the pages. |
210 | 212 | html_show_sourcelink = True |
211 | 213 |
|
212 | 214 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
213 | | -#html_show_sphinx = True |
| 215 | +# html_show_sphinx = True |
214 | 216 |
|
215 | 217 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
216 | 218 | html_show_copyright = True |
217 | 219 |
|
218 | 220 | # If true, an OpenSearch description file will be output, and all pages will |
219 | 221 | # contain a <link> tag referring to it. The value of this option must be the |
220 | 222 | # base URL from which the finished HTML is served. |
221 | | -#html_use_opensearch = '' |
| 223 | +# html_use_opensearch = '' |
222 | 224 |
|
223 | 225 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
224 | | -#html_file_suffix = None |
| 226 | +# html_file_suffix = None |
225 | 227 |
|
226 | 228 | # Language to be used for generating the HTML full-text search index. |
227 | 229 | # Sphinx supports the following languages: |
228 | 230 | # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' |
229 | 231 | # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' |
230 | | -#html_search_language = 'en' |
| 232 | +# html_search_language = 'en' |
231 | 233 |
|
232 | 234 | # A dictionary with options for the search language support, empty by default. |
233 | 235 | # Now only 'ja' uses this config value |
234 | | -#html_search_options = {'type': 'default'} |
| 236 | +# html_search_options = {'type': 'default'} |
235 | 237 |
|
236 | 238 | # The name of a javascript file (relative to the configuration directory) that |
237 | 239 | # implements a search results scorer. If empty, the default will be used. |
238 | | -#html_search_scorer = 'scorer.js' |
| 240 | +# html_search_scorer = 'scorer.js' |
239 | 241 |
|
240 | 242 | # Output file base name for HTML help builder. |
241 | | -htmlhelp_basename = 'pydmddoc' |
| 243 | +htmlhelp_basename = "pydmddoc" |
242 | 244 |
|
243 | 245 | # -- Options for LaTeX output --------------------------------------------- |
244 | 246 |
|
245 | 247 | latex_elements = { |
246 | | -# The paper size ('letterpaper' or 'a4paper'). |
247 | | -#'papersize': 'letterpaper', |
248 | | - |
249 | | -# The font size ('10pt', '11pt' or '12pt'). |
250 | | -#'pointsize': '10pt', |
251 | | - |
252 | | -# Additional stuff for the LaTeX preamble. |
253 | | -#'preamble': '', |
254 | | - |
255 | | -# Latex figure (float) alignment |
256 | | -#'figure_align': 'htbp', |
| 248 | + # The paper size ('letterpaper' or 'a4paper'). |
| 249 | + #'papersize': 'letterpaper', |
| 250 | + # The font size ('10pt', '11pt' or '12pt'). |
| 251 | + #'pointsize': '10pt', |
| 252 | + # Additional stuff for the LaTeX preamble. |
| 253 | + #'preamble': '', |
| 254 | + # Latex figure (float) alignment |
| 255 | + #'figure_align': 'htbp', |
257 | 256 | } |
258 | 257 |
|
259 | 258 | # Grouping the document tree into LaTeX files. List of tuples |
260 | 259 | # (source start file, target name, title, |
261 | 260 | # author, documentclass [howto, manual, or own class]). |
262 | 261 | latex_documents = [ |
263 | | - (master_doc, 'pydmd.tex', u'pydmd Documentation', |
264 | | - u'PyDMD contributors', 'manual'), |
| 262 | + ( |
| 263 | + master_doc, |
| 264 | + "pydmd.tex", |
| 265 | + "pydmd Documentation", |
| 266 | + "PyDMD contributors", |
| 267 | + "manual", |
| 268 | + ), |
265 | 269 | ] |
266 | 270 |
|
267 | 271 | # The name of an image file (relative to this directory) to place at the top of |
268 | 272 | # the title page. |
269 | | -#latex_logo = None |
| 273 | +# latex_logo = None |
270 | 274 |
|
271 | 275 | # For "manual" documents, if this is true, then toplevel headings are parts, |
272 | 276 | # not chapters. |
273 | | -#latex_use_parts = False |
| 277 | +# latex_use_parts = False |
274 | 278 |
|
275 | 279 | # If true, show page references after internal links. |
276 | | -#latex_show_pagerefs = False |
| 280 | +# latex_show_pagerefs = False |
277 | 281 |
|
278 | 282 | # If true, show URL addresses after external links. |
279 | | -#latex_show_urls = False |
| 283 | +# latex_show_urls = False |
280 | 284 |
|
281 | 285 | # Documents to append as an appendix to all manuals. |
282 | | -#latex_appendices = [] |
| 286 | +# latex_appendices = [] |
283 | 287 |
|
284 | 288 | # If false, no module index is generated. |
285 | | -#latex_domain_indices = True |
| 289 | +# latex_domain_indices = True |
286 | 290 |
|
287 | 291 |
|
288 | 292 | # -- Options for manual page output --------------------------------------- |
289 | 293 |
|
290 | 294 | # One entry per manual page. List of tuples |
291 | 295 | # (source start file, name, description, authors, manual section). |
292 | | -man_pages = [ |
293 | | - (master_doc, 'pydmd', u'pydmd Documentation', |
294 | | - [author], 1) |
295 | | -] |
| 296 | +man_pages = [(master_doc, "pydmd", "pydmd Documentation", [author], 1)] |
296 | 297 |
|
297 | 298 | # If true, show URL addresses after external links. |
298 | | -#man_show_urls = False |
| 299 | +# man_show_urls = False |
299 | 300 |
|
300 | 301 |
|
301 | 302 | # -- Options for Texinfo output ------------------------------------------- |
|
304 | 305 | # (source start file, target name, title, author, |
305 | 306 | # dir menu entry, description, category) |
306 | 307 | texinfo_documents = [ |
307 | | - (master_doc, 'pydmd', u'pydmd Documentation', |
308 | | - author, 'pydmd', 'One line description of project.', |
309 | | - 'Miscellaneous'), |
| 308 | + ( |
| 309 | + master_doc, |
| 310 | + "pydmd", |
| 311 | + "pydmd Documentation", |
| 312 | + author, |
| 313 | + "pydmd", |
| 314 | + "One line description of project.", |
| 315 | + "Miscellaneous", |
| 316 | + ), |
310 | 317 | ] |
311 | 318 |
|
312 | 319 | # Documents to append as an appendix to all manuals. |
313 | | -#texinfo_appendices = [] |
| 320 | +# texinfo_appendices = [] |
314 | 321 |
|
315 | 322 | # If false, no module index is generated. |
316 | | -#texinfo_domain_indices = True |
| 323 | +# texinfo_domain_indices = True |
317 | 324 |
|
318 | 325 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
319 | | -#texinfo_show_urls = 'footnote' |
| 326 | +# texinfo_show_urls = 'footnote' |
320 | 327 |
|
321 | 328 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
322 | | -#texinfo_no_detailmenu = False |
| 329 | +# texinfo_no_detailmenu = False |
0 commit comments