|
20 | 20 | import os |
21 | 21 | import sys |
22 | 22 | from os.path import abspath, dirname, join |
| 23 | + |
23 | 24 | sys.setrecursionlimit(2000) |
24 | 25 |
|
25 | 26 | # Monkey patching StandaloneHTMLBuilder as to not include unnecessary scripts |
26 | 27 |
|
27 | 28 | from sphinx.builders.html import StandaloneHTMLBuilder |
| 29 | + |
28 | 30 | # from sphinx.util.osutil import relative_uri |
29 | 31 | StandaloneHTMLBuilder.script_files = ["_static/vendor.js"] |
30 | 32 | # StandaloneHTMLBuilder.imgpath = relative_uri("v0.13", '_images') |
|
138 | 140 | # The full version, including alpha/beta/rc tags. |
139 | 141 | release = 'x.y' |
140 | 142 |
|
141 | | -#epilog rst lines for frequently reference links in docs |
| 143 | +# epilog rst lines for frequently reference links in docs |
142 | 144 | rst_epilog = """ |
143 | 145 | """ |
144 | 146 |
|
|
185 | 187 | # The name of the Pygments (syntax highlighting) style to use. |
186 | 188 | pygments_style = 'sphinx' |
187 | 189 |
|
188 | | - |
189 | 190 | # A list of ignored prefixes for module index sorting. |
190 | 191 | # modindex_common_prefix = [] |
191 | 192 |
|
|
195 | 196 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
196 | 197 | todo_include_todos = True |
197 | 198 |
|
198 | | - |
199 | 199 | # -- Options for HTML output ---------------------------------------------- |
200 | 200 | # import sphinx_rtd_theme |
201 | 201 | # html_theme = "sphinx_rtd_theme" |
|
205 | 205 | # The theme to use for HTML and HTML Help pages. See the documentation for |
206 | 206 | # a list of builtin themes. |
207 | 207 | # |
208 | | -#html_theme = 'alabaster' |
| 208 | +# html_theme = 'alabaster' |
209 | 209 |
|
210 | 210 | # Theme options are theme-specific and customize the look and feel of a theme |
211 | 211 | # further. For a list of options available for each theme, see the |
|
325 | 325 | # -- Options for LaTeX output --------------------------------------------- |
326 | 326 |
|
327 | 327 | latex_elements = { |
328 | | - # The paper size ('letterpaper' or 'a4paper'). |
329 | | - # |
330 | | - # 'papersize': 'letterpaper', |
| 328 | + # The paper size ('letterpaper' or 'a4paper'). |
| 329 | + # |
| 330 | + # 'papersize': 'letterpaper', |
331 | 331 |
|
332 | | - # The font size ('10pt', '11pt' or '12pt'). |
333 | | - # |
334 | | - # 'pointsize': '10pt', |
| 332 | + # The font size ('10pt', '11pt' or '12pt'). |
| 333 | + # |
| 334 | + # 'pointsize': '10pt', |
335 | 335 |
|
336 | | - # Additional stuff for the LaTeX preamble. |
337 | | - # |
338 | | - # 'preamble': '', |
| 336 | + # Additional stuff for the LaTeX preamble. |
| 337 | + # |
| 338 | + # 'preamble': '', |
339 | 339 |
|
340 | | - # Latex figure (float) alignment |
341 | | - # |
342 | | - # 'figure_align': 'htbp', |
| 340 | + # Latex figure (float) alignment |
| 341 | + # |
| 342 | + # 'figure_align': 'htbp', |
343 | 343 | } |
344 | 344 |
|
345 | 345 | # Grouping the document tree into LaTeX files. List of tuples |
|
0 commit comments