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