Skip to content

Commit 449f004

Browse files
committed
Blackified
1 parent 822177b commit 449f004

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+791
-584
lines changed

docs/conf.py

Lines changed: 82 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
import sys, os
1515
import django
1616
from django.conf import settings
17+
1718
# If extensions (or modules to document with autodoc) are in another directory,
1819
# add these directories to sys.path here. If the directory is relative to the
1920
# documentation root, use os.path.abspath to make it absolute, like shown here.
20-
#sys.path.insert(0, os.path.abspath('.'))
21+
# sys.path.insert(0, os.path.abspath('.'))
2122
settings.configure(DEBUG=True)
2223
django.setup()
2324

@@ -30,27 +31,27 @@
3031
# -- General configuration -----------------------------------------------------
3132

3233
# If your documentation needs a minimal Sphinx version, state it here.
33-
#needs_sphinx = '1.0'
34+
# needs_sphinx = '1.0'
3435

3536
# Add any Sphinx extension module names here, as strings. They can be extensions
3637
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
37-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
38+
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"]
3839

3940
# Add any paths that contain templates here, relative to this directory.
40-
templates_path = ['_templates']
41+
templates_path = ["_templates"]
4142

4243
# The suffix of source filenames.
43-
source_suffix = '.rst'
44+
source_suffix = ".rst"
4445

4546
# The encoding of source files.
46-
#source_encoding = 'utf-8-sig'
47+
# source_encoding = 'utf-8-sig'
4748

4849
# The master toctree document.
49-
master_doc = 'index'
50+
master_doc = "index"
5051

5152
# General information about the project.
52-
project = u'django-dynamic-preferences'
53-
copyright = u'2014, Agate Blue'
53+
project = u"django-dynamic-preferences"
54+
copyright = u"2014, Agate Blue"
5455

5556
# The version info for the project you're documenting, acts as replacement for
5657
# |version| and |release|, also used in various other places throughout the
@@ -63,174 +64,182 @@
6364

6465
# The language for content autogenerated by Sphinx. Refer to documentation
6566
# for a list of supported languages.
66-
#language = None
67+
# language = None
6768

6869
# There are two options for replacing |today|: either, you set today to some
6970
# non-false value, then it is used:
70-
#today = ''
71+
# today = ''
7172
# Else, today_fmt is used as the format for a strftime call.
72-
#today_fmt = '%B %d, %Y'
73+
# today_fmt = '%B %d, %Y'
7374

7475
# List of patterns, relative to source directory, that match files and
7576
# directories to ignore when looking for source files.
76-
exclude_patterns = ['_build']
77+
exclude_patterns = ["_build"]
7778

7879
# The reST default role (used for this markup: `text`) to use for all documents.
79-
#default_role = None
80+
# default_role = None
8081

8182
# If true, '()' will be appended to :func: etc. cross-reference text.
82-
#add_function_parentheses = True
83+
# add_function_parentheses = True
8384

8485
# If true, the current module name will be prepended to all description
8586
# unit titles (such as .. function::).
86-
#add_module_names = True
87+
# add_module_names = True
8788

8889
# If true, sectionauthor and moduleauthor directives will be shown in the
8990
# output. They are ignored by default.
90-
#show_authors = False
91+
# show_authors = False
9192

9293
# The name of the Pygments (syntax highlighting) style to use.
93-
pygments_style = 'sphinx'
94+
pygments_style = "sphinx"
9495

9596
# A list of ignored prefixes for module index sorting.
96-
#modindex_common_prefix = []
97+
# modindex_common_prefix = []
9798

9899
# If true, keep warnings as "system message" paragraphs in the built documents.
99-
#keep_warnings = False
100+
# keep_warnings = False
100101

101102

102103
# -- Options for HTML output ---------------------------------------------------
103104

104105
# The theme to use for HTML and HTML Help pages. See the documentation for
105106
# a list of builtin themes.
106-
html_theme = 'default'
107+
html_theme = "default"
107108

108109
# Theme options are theme-specific and customize the look and feel of a theme
109110
# further. For a list of options available for each theme, see the
110111
# documentation.
111-
#html_theme_options = {}
112+
# html_theme_options = {}
112113

113114
# Add any paths that contain custom themes here, relative to this directory.
114-
#html_theme_path = []
115+
# html_theme_path = []
115116

116117
# The name for this set of Sphinx documents. If None, it defaults to
117118
# "<project> v<release> documentation".
118-
#html_title = None
119+
# html_title = None
119120

120121
# A shorter title for the navigation bar. Default is the same as html_title.
121-
#html_short_title = None
122+
# html_short_title = None
122123

123124
# The name of an image file (relative to this directory) to place at the top
124125
# of the sidebar.
125-
#html_logo = None
126+
# html_logo = None
126127

127128
# The name of an image file (within the static path) to use as favicon of the
128129
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
129130
# pixels large.
130-
#html_favicon = None
131+
# html_favicon = None
131132

132133
# Add any paths that contain custom static files (such as style sheets) here,
133134
# relative to this directory. They are copied after the builtin static files,
134135
# so a file named "default.css" will overwrite the builtin "default.css".
135-
html_static_path = ['_static']
136+
html_static_path = ["_static"]
136137

137138
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
138139
# using the given strftime format.
139-
#html_last_updated_fmt = '%b %d, %Y'
140+
# html_last_updated_fmt = '%b %d, %Y'
140141

141142
# If true, SmartyPants will be used to convert quotes and dashes to
142143
# typographically correct entities.
143-
#html_use_smartypants = True
144+
# html_use_smartypants = True
144145

145146
# Custom sidebar templates, maps document names to template names.
146-
#html_sidebars = {}
147+
# html_sidebars = {}
147148

148149
# Additional templates that should be rendered to pages, maps page names to
149150
# template names.
150-
#html_additional_pages = {}
151+
# html_additional_pages = {}
151152

152153
# If false, no module index is generated.
153-
#html_domain_indices = True
154+
# html_domain_indices = True
154155

155156
# If false, no index is generated.
156-
#html_use_index = True
157+
# html_use_index = True
157158

158159
# If true, the index is split into individual pages for each letter.
159-
#html_split_index = False
160+
# html_split_index = False
160161

161162
# If true, links to the reST sources are added to the pages.
162-
#html_show_sourcelink = True
163+
# html_show_sourcelink = True
163164

164165
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
165-
#html_show_sphinx = True
166+
# html_show_sphinx = True
166167

167168
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
168-
#html_show_copyright = True
169+
# html_show_copyright = True
169170

170171
# If true, an OpenSearch description file will be output, and all pages will
171172
# contain a <link> tag referring to it. The value of this option must be the
172173
# base URL from which the finished HTML is served.
173-
#html_use_opensearch = ''
174+
# html_use_opensearch = ''
174175

175176
# This is the file name suffix for HTML files (e.g. ".xhtml").
176-
#html_file_suffix = None
177+
# html_file_suffix = None
177178

178179
# Output file base name for HTML help builder.
179-
htmlhelp_basename = 'django-dynamic-preferencesdoc'
180+
htmlhelp_basename = "django-dynamic-preferencesdoc"
180181

181182

182183
# -- Options for LaTeX output --------------------------------------------------
183184

184185
latex_elements = {
185-
# The paper size ('letterpaper' or 'a4paper').
186-
#'papersize': 'letterpaper',
187-
188-
# The font size ('10pt', '11pt' or '12pt').
189-
#'pointsize': '10pt',
190-
191-
# Additional stuff for the LaTeX preamble.
192-
#'preamble': '',
186+
# The paper size ('letterpaper' or 'a4paper').
187+
#'papersize': 'letterpaper',
188+
# The font size ('10pt', '11pt' or '12pt').
189+
#'pointsize': '10pt',
190+
# Additional stuff for the LaTeX preamble.
191+
#'preamble': '',
193192
}
194193

195194
# Grouping the document tree into LaTeX files. List of tuples
196195
# (source start file, target name, title, author, documentclass [howto/manual]).
197196
latex_documents = [
198-
('index', 'django-dynamic-preferences.tex', u'django-dynamic-preferences Documentation',
199-
u'Agate Blue', 'manual'),
197+
(
198+
"index",
199+
"django-dynamic-preferences.tex",
200+
u"django-dynamic-preferences Documentation",
201+
u"Agate Blue",
202+
"manual",
203+
),
200204
]
201205

202206
# The name of an image file (relative to this directory) to place at the top of
203207
# the title page.
204-
#latex_logo = None
208+
# latex_logo = None
205209

206210
# For "manual" documents, if this is true, then toplevel headings are parts,
207211
# not chapters.
208-
#latex_use_parts = False
212+
# latex_use_parts = False
209213

210214
# If true, show page references after internal links.
211-
#latex_show_pagerefs = False
215+
# latex_show_pagerefs = False
212216

213217
# If true, show URL addresses after external links.
214-
#latex_show_urls = False
218+
# latex_show_urls = False
215219

216220
# Documents to append as an appendix to all manuals.
217-
#latex_appendices = []
221+
# latex_appendices = []
218222

219223
# If false, no module index is generated.
220-
#latex_domain_indices = True
224+
# latex_domain_indices = True
221225

222226

223227
# -- Options for manual page output --------------------------------------------
224228

225229
# One entry per manual page. List of tuples
226230
# (source start file, name, description, authors, manual section).
227231
man_pages = [
228-
('index', 'django-dynamic-preferences', u'django-dynamic-preferences Documentation',
229-
[u'Agate Blue'], 1)
232+
(
233+
"index",
234+
"django-dynamic-preferences",
235+
u"django-dynamic-preferences Documentation",
236+
[u"Agate Blue"],
237+
1,
238+
)
230239
]
231240

232241
# If true, show URL addresses after external links.
233-
#man_show_urls = False
242+
# man_show_urls = False
234243

235244

236245
# -- Options for Texinfo output ------------------------------------------------
@@ -239,19 +248,25 @@
239248
# (source start file, target name, title, author,
240249
# dir menu entry, description, category)
241250
texinfo_documents = [
242-
('index', 'django-dynamic-preferences', u'django-dynamic-preferences Documentation',
243-
u'Agate Blue', 'django-dynamic-preferences', 'One line description of project.',
244-
'Miscellaneous'),
251+
(
252+
"index",
253+
"django-dynamic-preferences",
254+
u"django-dynamic-preferences Documentation",
255+
u"Agate Blue",
256+
"django-dynamic-preferences",
257+
"One line description of project.",
258+
"Miscellaneous",
259+
),
245260
]
246261

247262
# Documents to append as an appendix to all manuals.
248-
#texinfo_appendices = []
263+
# texinfo_appendices = []
249264

250265
# If false, no module index is generated.
251-
#texinfo_domain_indices = True
266+
# texinfo_domain_indices = True
252267

253268
# How to display URL addresses: 'footnote', 'no', or 'inline'.
254-
#texinfo_show_urls = 'footnote'
269+
# texinfo_show_urls = 'footnote'
255270

256271
# If true, do not generate a @detailmenu in the "Top" node's menu.
257-
#texinfo_no_detailmenu = False
272+
# texinfo_no_detailmenu = False

0 commit comments

Comments
 (0)