|
18 | 18 | #
|
19 | 19 | import os
|
20 | 20 | import sys
|
21 |
| -#sys.path.insert(0, os.path.abspath('.')) |
22 |
| -sys.path.insert(0, os.path.abspath('..')) |
| 21 | + |
| 22 | +# sys.path.insert(0, os.path.abspath('.')) |
| 23 | +sys.path.insert(0, os.path.abspath("..")) |
23 | 24 |
|
24 | 25 | # -- General configuration ------------------------------------------------
|
25 | 26 |
|
|
31 | 32 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
32 | 33 | # ones.
|
33 | 34 | extensions = [
|
34 |
| - 'sphinx.ext.autodoc', |
| 35 | + "sphinx.ext.autodoc", |
35 | 36 | ]
|
36 | 37 |
|
37 | 38 | # Add any paths that contain templates here, relative to this directory.
|
38 |
| -templates_path = ['_templates'] |
| 39 | +templates_path = ["_templates"] |
39 | 40 |
|
40 | 41 | # The suffix(es) of source filenames.
|
41 | 42 | # You can specify multiple suffix as a list of string:
|
42 | 43 | #
|
43 | 44 | # source_suffix = ['.rst', '.md']
|
44 |
| -source_suffix = '.rst' |
| 45 | +source_suffix = ".rst" |
45 | 46 |
|
46 | 47 | # The encoding of source files.
|
47 | 48 | #
|
48 | 49 | # source_encoding = 'utf-8-sig'
|
49 | 50 |
|
50 | 51 | # The master toctree document.
|
51 |
| -master_doc = 'index' |
| 52 | +master_doc = "index" |
52 | 53 |
|
53 | 54 | # General information about the project.
|
54 |
| -project = u'WikiTeam' |
55 |
| -copyright = u'2016, WikiTeam developers' |
56 |
| -author = u'WikiTeam developers' |
| 55 | +project = u"WikiTeam" |
| 56 | +copyright = u"2016, WikiTeam developers" |
| 57 | +author = u"WikiTeam developers" |
57 | 58 |
|
58 | 59 | # The version info for the project you're documenting, acts as replacement for
|
59 | 60 | # |version| and |release|, also used in various other places throughout the
|
60 | 61 | # built documents.
|
61 | 62 | #
|
62 | 63 | # The short X.Y version.
|
63 |
| -version = u'0.3' |
| 64 | +version = u"0.3" |
64 | 65 | # The full version, including alpha/beta/rc tags.
|
65 |
| -release = u'0.3' |
| 66 | +release = u"0.3" |
66 | 67 |
|
67 | 68 | # The language for content autogenerated by Sphinx. Refer to documentation
|
68 | 69 | # for a list of supported languages.
|
|
83 | 84 | # List of patterns, relative to source directory, that match files and
|
84 | 85 | # directories to ignore when looking for source files.
|
85 | 86 | # This patterns also effect to html_static_path and html_extra_path
|
86 |
| -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 87 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
87 | 88 |
|
88 | 89 | # The reST default role (used for this markup: `text`) to use for all
|
89 | 90 | # documents.
|
|
105 | 106 | # show_authors = False
|
106 | 107 |
|
107 | 108 | # The name of the Pygments (syntax highlighting) style to use.
|
108 |
| -pygments_style = 'sphinx' |
| 109 | +pygments_style = "sphinx" |
109 | 110 |
|
110 | 111 | # A list of ignored prefixes for module index sorting.
|
111 | 112 | # modindex_common_prefix = []
|
|
122 | 123 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
123 | 124 | # a list of builtin themes.
|
124 | 125 | #
|
125 |
| -html_theme = 'classic' |
| 126 | +html_theme = "classic" |
126 | 127 |
|
127 | 128 | # Theme options are theme-specific and customize the look and feel of a theme
|
128 | 129 | # further. For a list of options available for each theme, see the
|
|
156 | 157 | # Add any paths that contain custom static files (such as style sheets) here,
|
157 | 158 | # relative to this directory. They are copied after the builtin static files,
|
158 | 159 | # so a file named "default.css" will overwrite the builtin "default.css".
|
159 |
| -html_static_path = ['_static'] |
| 160 | +html_static_path = ["_static"] |
160 | 161 |
|
161 | 162 | # Add any extra paths that contain custom files (such as robots.txt or
|
162 | 163 | # .htaccess) here, relative to this directory. These files are copied
|
|
236 | 237 | # html_search_scorer = 'scorer.js'
|
237 | 238 |
|
238 | 239 | # Output file base name for HTML help builder.
|
239 |
| -htmlhelp_basename = 'WikiTeamdoc' |
| 240 | +htmlhelp_basename = "WikiTeamdoc" |
240 | 241 |
|
241 | 242 | # -- Options for LaTeX output ---------------------------------------------
|
242 | 243 |
|
243 | 244 | latex_elements = {
|
244 |
| - # The paper size ('letterpaper' or 'a4paper'). |
245 |
| - # |
246 |
| - # 'papersize': 'letterpaper', |
247 |
| - |
248 |
| - # The font size ('10pt', '11pt' or '12pt'). |
249 |
| - # |
250 |
| - # 'pointsize': '10pt', |
251 |
| - |
252 |
| - # Additional stuff for the LaTeX preamble. |
253 |
| - # |
254 |
| - # 'preamble': '', |
255 |
| - |
256 |
| - # Latex figure (float) alignment |
257 |
| - # |
258 |
| - # 'figure_align': 'htbp', |
| 245 | + # The paper size ('letterpaper' or 'a4paper'). |
| 246 | + # |
| 247 | + # 'papersize': 'letterpaper', |
| 248 | + # The font size ('10pt', '11pt' or '12pt'). |
| 249 | + # |
| 250 | + # 'pointsize': '10pt', |
| 251 | + # Additional stuff for the LaTeX preamble. |
| 252 | + # |
| 253 | + # 'preamble': '', |
| 254 | + # Latex figure (float) alignment |
| 255 | + # |
| 256 | + # 'figure_align': 'htbp', |
259 | 257 | }
|
260 | 258 |
|
261 | 259 | # Grouping the document tree into LaTeX files. List of tuples
|
262 | 260 | # (source start file, target name, title,
|
263 | 261 | # author, documentclass [howto, manual, or own class]).
|
264 | 262 | latex_documents = [
|
265 |
| - (master_doc, 'WikiTeam.tex', u'WikiTeam Documentation', |
266 |
| - u'WikiTeam developers', 'manual'), |
| 263 | + ( |
| 264 | + master_doc, |
| 265 | + "WikiTeam.tex", |
| 266 | + u"WikiTeam Documentation", |
| 267 | + u"WikiTeam developers", |
| 268 | + "manual", |
| 269 | + ), |
267 | 270 | ]
|
268 | 271 |
|
269 | 272 | # The name of an image file (relative to this directory) to place at the top of
|
|
288 | 291 | #
|
289 | 292 | # latex_appendices = []
|
290 | 293 |
|
291 |
| -# It false, will not define \strong, \code, itleref, \crossref ... but only |
| 294 | +# It false, will not define \strong, \code, itleref, \crossref ... but only |
292 | 295 | # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
|
293 | 296 | # packages.
|
294 | 297 | #
|
|
303 | 306 |
|
304 | 307 | # One entry per manual page. List of tuples
|
305 | 308 | # (source start file, name, description, authors, manual section).
|
306 |
| -man_pages = [ |
307 |
| - (master_doc, 'wikiteam', u'WikiTeam Documentation', |
308 |
| - [author], 1) |
309 |
| -] |
| 309 | +man_pages = [(master_doc, "wikiteam", u"WikiTeam Documentation", [author], 1)] |
310 | 310 |
|
311 | 311 | # If true, show URL addresses after external links.
|
312 | 312 | #
|
|
319 | 319 | # (source start file, target name, title, author,
|
320 | 320 | # dir menu entry, description, category)
|
321 | 321 | texinfo_documents = [
|
322 |
| - (master_doc, 'WikiTeam', u'WikiTeam Documentation', |
323 |
| - author, 'WikiTeam', 'One line description of project.', |
324 |
| - 'Miscellaneous'), |
| 322 | + ( |
| 323 | + master_doc, |
| 324 | + "WikiTeam", |
| 325 | + u"WikiTeam Documentation", |
| 326 | + author, |
| 327 | + "WikiTeam", |
| 328 | + "One line description of project.", |
| 329 | + "Miscellaneous", |
| 330 | + ), |
325 | 331 | ]
|
326 | 332 |
|
327 | 333 | # Documents to append as an appendix to all manuals.
|
|
0 commit comments