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