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