|
18 | 18 | # |
19 | 19 | # import os |
20 | 20 | # import sys |
21 | | -# sys.path.insert(0, os.path.abspath('.')) |
| 21 | +# sys.path.insert(0, os.path.abspath(".")) |
22 | 22 |
|
23 | 23 |
|
24 | 24 | # -- General configuration ------------------------------------------------ |
25 | 25 |
|
26 | 26 | # If your documentation needs a minimal Sphinx version, state it here. |
27 | 27 | # |
28 | | -# needs_sphinx = '1.0' |
| 28 | +# needs_sphinx = "1.0" |
29 | 29 |
|
30 | 30 | # Add any Sphinx extension module names here, as strings. They can be |
31 | | -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 31 | +# extensions coming with Sphinx (named "sphinx.ext.*") or your custom |
32 | 32 | # ones. |
33 | | -extensions = ['sphinx.ext.autodoc', |
34 | | - 'sphinx.ext.doctest', |
35 | | - 'sphinx.ext.intersphinx', |
36 | | - 'sphinx.ext.mathjax', |
37 | | - 'sphinx.ext.viewcode'] |
| 33 | +extensions = ["sphinx.ext.autodoc", |
| 34 | + "sphinx.ext.doctest", |
| 35 | + "sphinx.ext.intersphinx", |
| 36 | + "sphinx.ext.mathjax", |
| 37 | + "sphinx.ext.viewcode"] |
38 | 38 | autoclass_content = "class" |
39 | 39 |
|
40 | 40 | # Add any paths that contain templates here, relative to this directory. |
41 | | -templates_path = ['_templates'] |
| 41 | +templates_path = ["_templates"] |
42 | 42 |
|
43 | 43 | # The suffix(es) of source filenames. |
44 | 44 | # You can specify multiple suffix as a list of string: |
45 | 45 | # |
46 | | -# source_suffix = ['.rst', '.md'] |
47 | | -source_suffix = '.rst' |
| 46 | +# source_suffix = [".rst", ".md"] |
| 47 | +source_suffix = ".rst" |
48 | 48 |
|
49 | 49 | # The master toctree document. |
50 | | -master_doc = 'index' |
| 50 | +master_doc = "index" |
51 | 51 |
|
52 | 52 | # General information about the project. |
53 | | -project = 'logpyle' |
54 | | -copyright = '2017, Andreas Kloeckner' |
55 | | -author = 'Andreas Kloeckner' |
| 53 | +project = "logpyle" |
| 54 | +copyright = "2017, Andreas Kloeckner" |
| 55 | +author = "Andreas Kloeckner" |
56 | 56 |
|
57 | | -# The version info for the project you're documenting, acts as replacement for |
| 57 | +# The version info for the project you"re documenting, acts as replacement for |
58 | 58 | # |version| and |release|, also used in various other places throughout the |
59 | 59 | # built documents. |
60 | 60 | # |
61 | 61 | # The short X.Y version. |
62 | 62 | ver_dic = {} |
63 | 63 | exec(compile(open("../logpyle/version.py").read(), |
64 | | - "../logpyle/version.py", 'exec'), ver_dic) |
| 64 | + "../logpyle/version.py", "exec"), ver_dic) |
65 | 65 | version = ".".join(str(x) for x in ver_dic["VERSION"]) |
66 | 66 | release = ver_dic["VERSION_TEXT"] |
67 | 67 |
|
|
75 | 75 | # List of patterns, relative to source directory, that match files and |
76 | 76 | # directories to ignore when looking for source files. |
77 | 77 | # This patterns also effect to html_static_path and html_extra_path |
78 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 78 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
79 | 79 |
|
80 | 80 | # The name of the Pygments (syntax highlighting) style to use. |
81 | | -pygments_style = 'sphinx' |
| 81 | +pygments_style = "sphinx" |
82 | 82 |
|
83 | 83 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
84 | 84 | todo_include_todos = False |
|
89 | 89 | # The theme to use for HTML and HTML Help pages. See the documentation for |
90 | 90 | # a list of builtin themes. |
91 | 91 | # |
92 | | -html_theme = 'alabaster' |
| 92 | +html_theme = "alabaster" |
93 | 93 |
|
94 | 94 | html_theme_options = { |
95 | 95 | "extra_nav_links": { |
|
99 | 99 | } |
100 | 100 |
|
101 | 101 | html_sidebars = { |
102 | | - '**': [ |
103 | | - 'about.html', |
104 | | - 'navigation.html', |
105 | | - 'relations.html', |
106 | | - 'searchbox.html', |
| 102 | + "**": [ |
| 103 | + "about.html", |
| 104 | + "navigation.html", |
| 105 | + "relations.html", |
| 106 | + "searchbox.html", |
107 | 107 | ] |
108 | 108 | } |
109 | 109 |
|
|
116 | 116 | # Add any paths that contain custom static files (such as style sheets) here, |
117 | 117 | # relative to this directory. They are copied after the builtin static files, |
118 | 118 | # so a file named "default.css" will overwrite the builtin "default.css". |
119 | | -# html_static_path = ['_static'] |
| 119 | +# html_static_path = ["_static"] |
120 | 120 |
|
121 | 121 |
|
122 | 122 | # -- Options for HTMLHelp output ------------------------------------------ |
123 | 123 |
|
124 | 124 | # Output file base name for HTML help builder. |
125 | | -htmlhelp_basename = 'logpyledoc' |
| 125 | +htmlhelp_basename = "logpyledoc" |
126 | 126 |
|
127 | 127 |
|
128 | 128 | # -- Options for LaTeX output --------------------------------------------- |
129 | 129 |
|
130 | 130 | latex_elements = { |
131 | | - # The paper size ('letterpaper' or 'a4paper'). |
| 131 | + # The paper size ("letterpaper" or "a4paper"). |
132 | 132 | # |
133 | | - # 'papersize': 'letterpaper', |
| 133 | + # "papersize": "letterpaper", |
134 | 134 |
|
135 | | - # The font size ('10pt', '11pt' or '12pt'). |
| 135 | + # The font size ("10pt", "11pt" or "12pt"). |
136 | 136 | # |
137 | | - # 'pointsize': '10pt', |
| 137 | + # "pointsize": "10pt", |
138 | 138 |
|
139 | 139 | # Additional stuff for the LaTeX preamble. |
140 | 140 | # |
141 | | - # 'preamble': '', |
| 141 | + # "preamble": ", |
142 | 142 |
|
143 | 143 | # Latex figure (float) alignment |
144 | 144 | # |
145 | | - # 'figure_align': 'htbp', |
| 145 | + # "figure_align": "htbp", |
146 | 146 | } |
147 | 147 |
|
148 | 148 | # Grouping the document tree into LaTeX files. List of tuples |
149 | 149 | # (source start file, target name, title, |
150 | 150 | # author, documentclass [howto, manual, or own class]). |
151 | 151 | latex_documents = [ |
152 | | - (master_doc, 'logpyle.tex', 'logpyle Documentation', |
153 | | - 'Andreas Kloeckner', 'manual'), |
| 152 | + (master_doc, "logpyle.tex", "logpyle Documentation", |
| 153 | + "Andreas Kloeckner", "manual"), |
154 | 154 | ] |
155 | 155 |
|
156 | 156 |
|
|
159 | 159 | # One entry per manual page. List of tuples |
160 | 160 | # (source start file, name, description, authors, manual section). |
161 | 161 | man_pages = [ |
162 | | - (master_doc, 'logpyle', 'logpyle Documentation', |
| 162 | + (master_doc, "logpyle", "logpyle Documentation", |
163 | 163 | [author], 1) |
164 | 164 | ] |
165 | 165 |
|
|
170 | 170 | # (source start file, target name, title, author, |
171 | 171 | # dir menu entry, description, category) |
172 | 172 | texinfo_documents = [ |
173 | | - (master_doc, 'logpyle', 'logpyle Documentation', |
174 | | - author, 'logpyle', 'One line description of project.', |
175 | | - 'Miscellaneous'), |
| 173 | + (master_doc, "logpyle", "logpyle Documentation", |
| 174 | + author, "logpyle", "One line description of project.", |
| 175 | + "Miscellaneous"), |
176 | 176 | ] |
177 | 177 |
|
178 | 178 |
|
|
0 commit comments