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