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