Skip to content

Commit ca2725c

Browse files
small cleanups
1 parent 29b9ba0 commit ca2725c

1 file changed

Lines changed: 39 additions & 39 deletions

File tree

doc/conf.py

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,50 +18,50 @@
1818
#
1919
# import os
2020
# import sys
21-
# sys.path.insert(0, os.path.abspath('.'))
21+
# sys.path.insert(0, os.path.abspath("."))
2222

2323

2424
# -- General configuration ------------------------------------------------
2525

2626
# If your documentation needs a minimal Sphinx version, state it here.
2727
#
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.
33-
extensions = ['sphinx.ext.autodoc',
34-
'sphinx.ext.doctest',
35-
'sphinx.ext.intersphinx',
36-
'sphinx.ext.mathjax',
37-
'sphinx.ext.viewcode']
33+
extensions = ["sphinx.ext.autodoc",
34+
"sphinx.ext.doctest",
35+
"sphinx.ext.intersphinx",
36+
"sphinx.ext.mathjax",
37+
"sphinx.ext.viewcode"]
3838
autoclass_content = "class"
3939

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

4343
# The suffix(es) of source filenames.
4444
# You can specify multiple suffix as a list of string:
4545
#
46-
# source_suffix = ['.rst', '.md']
47-
source_suffix = '.rst'
46+
# source_suffix = [".rst", ".md"]
47+
source_suffix = ".rst"
4848

4949
# The master toctree document.
50-
master_doc = 'index'
50+
master_doc = "index"
5151

5252
# General information about the project.
53-
project = 'logpyle'
54-
copyright = '2017, Andreas Kloeckner'
55-
author = 'Andreas Kloeckner'
53+
project = "logpyle"
54+
copyright = "2017, Andreas Kloeckner"
55+
author = "Andreas Kloeckner"
5656

57-
# The version info for the project you're documenting, acts as replacement for
57+
# The version info for the project you"re documenting, acts as replacement for
5858
# |version| and |release|, also used in various other places throughout the
5959
# built documents.
6060
#
6161
# The short X.Y version.
6262
ver_dic = {}
6363
exec(compile(open("../logpyle/version.py").read(),
64-
"../logpyle/version.py", 'exec'), ver_dic)
64+
"../logpyle/version.py", "exec"), ver_dic)
6565
version = ".".join(str(x) for x in ver_dic["VERSION"])
6666
release = ver_dic["VERSION_TEXT"]
6767

@@ -75,10 +75,10 @@
7575
# List of patterns, relative to source directory, that match files and
7676
# directories to ignore when looking for source files.
7777
# This patterns also effect to html_static_path and html_extra_path
78-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
78+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
7979

8080
# The name of the Pygments (syntax highlighting) style to use.
81-
pygments_style = 'sphinx'
81+
pygments_style = "sphinx"
8282

8383
# If true, `todo` and `todoList` produce output, else they produce nothing.
8484
todo_include_todos = False
@@ -89,7 +89,7 @@
8989
# The theme to use for HTML and HTML Help pages. See the documentation for
9090
# a list of builtin themes.
9191
#
92-
html_theme = 'alabaster'
92+
html_theme = "alabaster"
9393

9494
html_theme_options = {
9595
"extra_nav_links": {
@@ -99,11 +99,11 @@
9999
}
100100

101101
html_sidebars = {
102-
'**': [
103-
'about.html',
104-
'navigation.html',
105-
'relations.html',
106-
'searchbox.html',
102+
"**": [
103+
"about.html",
104+
"navigation.html",
105+
"relations.html",
106+
"searchbox.html",
107107
]
108108
}
109109

@@ -116,41 +116,41 @@
116116
# Add any paths that contain custom static files (such as style sheets) here,
117117
# relative to this directory. They are copied after the builtin static files,
118118
# so a file named "default.css" will overwrite the builtin "default.css".
119-
# html_static_path = ['_static']
119+
# html_static_path = ["_static"]
120120

121121

122122
# -- Options for HTMLHelp output ------------------------------------------
123123

124124
# Output file base name for HTML help builder.
125-
htmlhelp_basename = 'logpyledoc'
125+
htmlhelp_basename = "logpyledoc"
126126

127127

128128
# -- Options for LaTeX output ---------------------------------------------
129129

130130
latex_elements = {
131-
# The paper size ('letterpaper' or 'a4paper').
131+
# The paper size ("letterpaper" or "a4paper").
132132
#
133-
# 'papersize': 'letterpaper',
133+
# "papersize": "letterpaper",
134134

135-
# The font size ('10pt', '11pt' or '12pt').
135+
# The font size ("10pt", "11pt" or "12pt").
136136
#
137-
# 'pointsize': '10pt',
137+
# "pointsize": "10pt",
138138

139139
# Additional stuff for the LaTeX preamble.
140140
#
141-
# 'preamble': '',
141+
# "preamble": ",
142142

143143
# Latex figure (float) alignment
144144
#
145-
# 'figure_align': 'htbp',
145+
# "figure_align": "htbp",
146146
}
147147

148148
# Grouping the document tree into LaTeX files. List of tuples
149149
# (source start file, target name, title,
150150
# author, documentclass [howto, manual, or own class]).
151151
latex_documents = [
152-
(master_doc, 'logpyle.tex', 'logpyle Documentation',
153-
'Andreas Kloeckner', 'manual'),
152+
(master_doc, "logpyle.tex", "logpyle Documentation",
153+
"Andreas Kloeckner", "manual"),
154154
]
155155

156156

@@ -159,7 +159,7 @@
159159
# One entry per manual page. List of tuples
160160
# (source start file, name, description, authors, manual section).
161161
man_pages = [
162-
(master_doc, 'logpyle', 'logpyle Documentation',
162+
(master_doc, "logpyle", "logpyle Documentation",
163163
[author], 1)
164164
]
165165

@@ -170,9 +170,9 @@
170170
# (source start file, target name, title, author,
171171
# dir menu entry, description, category)
172172
texinfo_documents = [
173-
(master_doc, 'logpyle', 'logpyle Documentation',
174-
author, 'logpyle', 'One line description of project.',
175-
'Miscellaneous'),
173+
(master_doc, "logpyle", "logpyle Documentation",
174+
author, "logpyle", "One line description of project.",
175+
"Miscellaneous"),
176176
]
177177

178178

0 commit comments

Comments
 (0)