Skip to content

Commit 4f977c7

Browse files
committed
Update quotes in docs conf
1 parent 8ade2b7 commit 4f977c7

File tree

2 files changed

+63
-63
lines changed

2 files changed

+63
-63
lines changed

docs/conf.py

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -20,49 +20,49 @@
2020
# If extensions (or modules to document with autodoc) are in another directory,
2121
# add these directories to sys.path here. If the directory is relative to the
2222
# documentation root, use os.path.abspath to make it absolute, like shown here.
23-
sys.path.insert(0, os.path.abspath('..'))
23+
sys.path.insert(0, os.path.abspath(".."))
2424

2525
# -- General configuration ------------------------------------------------
2626

2727
# If your documentation needs a minimal Sphinx version, state it here.
28-
#needs_sphinx = '1.0'
28+
#needs_sphinx = "1.0"
2929

3030
# Add any Sphinx extension module names here, as strings. They can be
31-
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
31+
# extensions coming with Sphinx (named "sphinx.ext.*") or your custom
3232
# ones.
3333
extensions = [
34-
'alabaster',
35-
'sphinx.ext.autodoc',
36-
'sphinxcontrib.disqus',
34+
"alabaster",
35+
"sphinx.ext.autodoc",
36+
"sphinxcontrib.disqus",
3737
]
3838

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

4242
# The suffix(es) of source filenames.
4343
# You can specify multiple suffix as a list of string:
44-
# source_suffix = ['.rst', '.md']
45-
source_suffix = '.rst'
44+
# source_suffix = [".rst", ".md"]
45+
source_suffix = ".rst"
4646

4747
# The encoding of source files.
48-
#source_encoding = 'utf-8-sig'
48+
#source_encoding = "utf-8-sig"
4949

5050
# The master toctree document.
51-
master_doc = 'index'
51+
master_doc = "index"
5252

5353
# General information about the project.
54-
project = u'Dependency Injector'
55-
copyright = u'2021, Roman Mogylatov'
56-
author = u'Roman Mogylatov'
54+
project = "Dependency Injector"
55+
copyright = "2021, Roman Mogylatov"
56+
author = "Roman Mogylatov"
5757

58-
# The version info for the project you're documenting, acts as replacement for
58+
# The version info for the project you"re documenting, acts as replacement for
5959
# |version| and |release|, also used in various other places throughout the
6060
# built documents.
6161
#
6262
# The short X.Y version.
6363
# Getting version:
64-
with open('../src/dependency_injector/__init__.py') as init_file:
65-
version = re.search('__version__ = \'(.*?)\'', init_file.read()).group(1)
64+
with open("../src/dependency_injector/__init__.py") as init_file:
65+
version = re.search("__version__ = \"(.*?)\"", init_file.read()).group(1)
6666

6767
# The full version, including alpha/beta/rc tags.
6868
release = version
@@ -76,19 +76,19 @@
7676

7777
# There are two options for replacing |today|: either, you set today to some
7878
# non-false value, then it is used:
79-
#today = ''
79+
#today = ""
8080
# Else, today_fmt is used as the format for a strftime call.
81-
#today_fmt = '%B %d, %Y'
81+
#today_fmt = "%B %d, %Y"
8282

8383
# List of patterns, relative to source directory, that match files and
8484
# directories to ignore when looking for source files.
85-
exclude_patterns = ['_build']
85+
exclude_patterns = ["_build"]
8686

8787
# The reST default role (used for this markup: `text`) to use for all
8888
# documents.
8989
#default_role = None
9090

91-
# If true, '()' will be appended to :func: etc. cross-reference text.
91+
# If true, "()" will be appended to :func: etc. cross-reference text.
9292
#add_function_parentheses = True
9393

9494
# If true, the current module name will be prepended to all description
@@ -100,7 +100,7 @@
100100
#show_authors = False
101101

102102
# The name of the Pygments (syntax highlighting) style to use.
103-
pygments_style = 'sphinx'
103+
pygments_style = "sphinx"
104104

105105
# A list of ignored prefixes for module index sorting.
106106
#modindex_common_prefix = []
@@ -116,8 +116,8 @@
116116

117117
# The theme to use for HTML and HTML Help pages. See the documentation for
118118
# a list of builtin themes.
119-
# html_theme = 'sphinx_rtd_theme'
120-
html_theme = 'alabaster'
119+
# html_theme = "sphinx_rtd_theme"
120+
html_theme = "alabaster"
121121

122122
# Theme options are theme-specific and customize the look and feel of a theme
123123
# further. For a list of options available for each theme, see the
@@ -141,21 +141,21 @@
141141
# The name of an image file (within the static path) to use as favicon of the
142142
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
143143
# pixels large.
144-
html_favicon = 'favicon.ico'
144+
html_favicon = "favicon.ico"
145145

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

151151
# Add any extra paths that contain custom files (such as robots.txt or
152152
# .htaccess) here, relative to this directory. These files are copied
153153
# directly to the root of the documentation.
154154
#html_extra_path = []
155155

156-
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
156+
# If not "", a "Last updated on:" timestamp is inserted at every page bottom,
157157
# using the given strftime format.
158-
#html_last_updated_fmt = '%b %d, %Y'
158+
#html_last_updated_fmt = "%b %d, %Y"
159159

160160
# If true, SmartyPants will be used to convert quotes and dashes to
161161
# typographically correct entities.
@@ -189,50 +189,50 @@
189189
# If true, an OpenSearch description file will be output, and all pages will
190190
# contain a <link> tag referring to it. The value of this option must be the
191191
# base URL from which the finished HTML is served.
192-
#html_use_opensearch = ''
192+
#html_use_opensearch = ""
193193

194194
# This is the file name suffix for HTML files (e.g. ".xhtml").
195195
#html_file_suffix = None
196196

197197
# Language to be used for generating the HTML full-text search index.
198198
# Sphinx supports the following languages:
199-
# 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
200-
# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
201-
#html_search_language = 'en'
199+
# "da", "de", "en", "es", "fi", "fr", "hu", "it", "ja"
200+
# "nl", "no", "pt", "ro", "ru", "sv", "tr"
201+
#html_search_language = "en"
202202

203203
# A dictionary with options for the search language support, empty by default.
204-
# Now only 'ja' uses this config value
205-
#html_search_options = {'type': 'default'}
204+
# Now only "ja" uses this config value
205+
#html_search_options = {"type": "default"}
206206

207207
# The name of a javascript file (relative to the configuration directory) that
208208
# implements a search results scorer. If empty, the default will be used.
209-
#html_search_scorer = 'scorer.js'
209+
#html_search_scorer = "scorer.js"
210210

211211
# Output file base name for HTML help builder.
212-
htmlhelp_basename = 'dependency_injectordoc'
212+
htmlhelp_basename = "dependency_injectordoc"
213213

214214
# -- Options for LaTeX output ---------------------------------------------
215215

216216
latex_elements = {
217-
# The paper size ('letterpaper' or 'a4paper').
218-
#'papersize': 'letterpaper',
217+
# The paper size ("letterpaper" or "a4paper").
218+
#"papersize": "letterpaper",
219219

220-
# The font size ('10pt', '11pt' or '12pt').
221-
#'pointsize': '10pt',
220+
# The font size ("10pt", "11pt" or "12pt").
221+
#"pointsize": "10pt",
222222

223223
# Additional stuff for the LaTeX preamble.
224-
#'preamble': '',
224+
#"preamble": "",
225225

226226
# Latex figure (float) alignment
227-
#'figure_align': 'htbp',
227+
#"figure_align": "htbp",
228228
}
229229

230230
# Grouping the document tree into LaTeX files. List of tuples
231231
# (source start file, target name, title,
232232
# author, documentclass [howto, manual, or own class]).
233233
latex_documents = [
234-
(master_doc, 'dependency_injector.tex', u'Dependency Injector Documentation',
235-
u'Roman Mogylatov', 'manual'),
234+
(master_doc, "dependency_injector.tex", u"Dependency Injector Documentation",
235+
u"Roman Mogylatov", "manual"),
236236
]
237237

238238
# The name of an image file (relative to this directory) to place at the top of
@@ -261,7 +261,7 @@
261261
# One entry per manual page. List of tuples
262262
# (source start file, name, description, authors, manual section).
263263
man_pages = [
264-
(master_doc, 'Dependency Injector', u'Dependency Injector Documentation',
264+
(master_doc, "Dependency Injector", u"Dependency Injector Documentation",
265265
[author], 1)
266266
]
267267

@@ -275,9 +275,9 @@
275275
# (source start file, target name, title, author,
276276
# dir menu entry, description, category)
277277
texinfo_documents = [
278-
(master_doc, 'Dependency Injector', u'Dependency Injector Documentation',
279-
author, 'Dependency Injector', 'Dependency injection microframework for Python',
280-
'Miscellaneous'),
278+
(master_doc, "Dependency Injector", u"Dependency Injector Documentation",
279+
author, "Dependency Injector", "Dependency injection microframework for Python",
280+
"Miscellaneous"),
281281
]
282282

283283
# Documents to append as an appendix to all manuals.
@@ -286,24 +286,24 @@
286286
# If false, no module index is generated.
287287
#texinfo_domain_indices = True
288288

289-
# How to display URL addresses: 'footnote', 'no', or 'inline'.
290-
#texinfo_show_urls = 'footnote'
289+
# How to display URL addresses: "footnote", "no", or "inline".
290+
#texinfo_show_urls = "footnote"
291291

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

295-
autodoc_member_order = 'bysource'
295+
autodoc_member_order = "bysource"
296296

297-
disqus_shortname = 'python-dependency-injector'
297+
disqus_shortname = "python-dependency-injector"
298298

299299
html_theme_options = {
300-
'github_user': 'ets-labs',
301-
'github_repo': 'python-dependency-injector',
302-
'github_type': 'star',
303-
'github_button': True,
304-
'github_banner': True,
305-
'logo': 'logo.svg',
306-
'description': 'Dependency injection framework for Python by Roman Mogylatov',
307-
'code_font_size': '10pt',
308-
'analytics_id': 'UA-67012059-1',
300+
"github_user": "ets-labs",
301+
"github_repo": "python-dependency-injector",
302+
"github_type": "star",
303+
"github_button": True,
304+
"github_banner": True,
305+
"logo": "logo.svg",
306+
"description": "Dependency injection framework for Python by Roman Mogylatov",
307+
"code_font_size": "10pt",
308+
"analytics_id": "UA-67012059-1",
309309
}

src/dependency_injector/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Top-level package."""
22

3-
__version__ = '4.36.2'
3+
__version__ = "4.36.2"
44
"""Version number.
55
66
:type: str

0 commit comments

Comments
 (0)