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