Skip to content

Commit 49b0000

Browse files
committed
typing
1 parent 7b0112c commit 49b0000

File tree

2 files changed

+104
-91
lines changed

2 files changed

+104
-91
lines changed

docs/conf.py

+84-74
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
#
32
# probablepeople documentation build configuration file, created by
43
# sphinx-quickstart on Mon Mar 16 21:43:12 2015.
@@ -11,227 +10,232 @@
1110
#
1211
# All configuration values have a default; values that are commented out
1312
# serve to show the default.
14-
15-
import sys
16-
import os
17-
13+
#
1814
# If extensions (or modules to document with autodoc) are in another directory,
1915
# add these directories to sys.path here. If the directory is relative to the
2016
# documentation root, use os.path.abspath to make it absolute, like shown here.
21-
#sys.path.insert(0, os.path.abspath('.'))
17+
# sys.path.insert(0, os.path.abspath('.'))
2218

2319
# -- General configuration ------------------------------------------------
2420

2521
# If your documentation needs a minimal Sphinx version, state it here.
26-
#needs_sphinx = '1.0'
22+
# needs_sphinx = '1.0'
2723

2824
# Add any Sphinx extension module names here, as strings. They can be
2925
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3026
# ones.
3127
extensions = []
3228

3329
# Add any paths that contain templates here, relative to this directory.
34-
templates_path = ['_templates']
30+
templates_path = ["_templates"]
3531

3632
# The suffix of source filenames.
37-
source_suffix = '.rst'
33+
source_suffix = ".rst"
3834

3935
# The encoding of source files.
40-
#source_encoding = 'utf-8-sig'
36+
# source_encoding = 'utf-8-sig'
4137

4238
# The master toctree document.
43-
master_doc = 'index'
39+
master_doc = "index"
4440

4541
# General information about the project.
46-
project = u'probablepeople'
47-
copyright = u'2015, Cathy Deng, Forest Gregg'
42+
project = "probablepeople"
43+
copyright = "2015, Cathy Deng, Forest Gregg"
4844

4945
# The version info for the project you're documenting, acts as replacement for
5046
# |version| and |release|, also used in various other places throughout the
5147
# built documents.
5248
#
5349
# The short X.Y version.
54-
version = '0.3.1'
50+
version = "0.3.1"
5551
# The full version, including alpha/beta/rc tags.
56-
release = '0.3.1'
52+
release = "0.3.1"
5753

5854
# The language for content autogenerated by Sphinx. Refer to documentation
5955
# for a list of supported languages.
60-
#language = None
56+
# language = None
6157

6258
# There are two options for replacing |today|: either, you set today to some
6359
# non-false value, then it is used:
64-
#today = ''
60+
# today = ''
6561
# Else, today_fmt is used as the format for a strftime call.
66-
#today_fmt = '%B %d, %Y'
62+
# today_fmt = '%B %d, %Y'
6763

6864
# List of patterns, relative to source directory, that match files and
6965
# directories to ignore when looking for source files.
70-
exclude_patterns = ['_build']
66+
exclude_patterns = ["_build"]
7167

7268
# The reST default role (used for this markup: `text`) to use for all
7369
# documents.
74-
#default_role = None
70+
# default_role = None
7571

7672
# If true, '()' will be appended to :func: etc. cross-reference text.
77-
#add_function_parentheses = True
73+
# add_function_parentheses = True
7874

7975
# If true, the current module name will be prepended to all description
8076
# unit titles (such as .. function::).
81-
#add_module_names = True
77+
# add_module_names = True
8278

8379
# If true, sectionauthor and moduleauthor directives will be shown in the
8480
# output. They are ignored by default.
85-
#show_authors = False
81+
# show_authors = False
8682

8783
# The name of the Pygments (syntax highlighting) style to use.
88-
pygments_style = 'sphinx'
84+
pygments_style = "sphinx"
8985

9086
# A list of ignored prefixes for module index sorting.
91-
#modindex_common_prefix = []
87+
# modindex_common_prefix = []
9288

9389
# If true, keep warnings as "system message" paragraphs in the built documents.
94-
#keep_warnings = False
90+
# keep_warnings = False
9591

9692

9793
# -- Options for HTML output ----------------------------------------------
9894

9995
# The theme to use for HTML and HTML Help pages. See the documentation for
10096
# a list of builtin themes.
101-
html_theme = 'default'
97+
html_theme = "default"
10298

10399
# Theme options are theme-specific and customize the look and feel of a theme
104100
# further. For a list of options available for each theme, see the
105101
# documentation.
106-
#html_theme_options = {}
102+
# html_theme_options = {}
107103

108104
# Add any paths that contain custom themes here, relative to this directory.
109-
#html_theme_path = []
105+
# html_theme_path = []
110106

111107
# The name for this set of Sphinx documents. If None, it defaults to
112108
# "<project> v<release> documentation".
113-
#html_title = None
109+
# html_title = None
114110

115111
# A shorter title for the navigation bar. Default is the same as html_title.
116-
#html_short_title = None
112+
# html_short_title = None
117113

118114
# The name of an image file (relative to this directory) to place at the top
119115
# of the sidebar.
120-
#html_logo = None
116+
# html_logo = None
121117

122118
# The name of an image file (within the static path) to use as favicon of the
123119
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
124120
# pixels large.
125-
#html_favicon = None
121+
# html_favicon = None
126122

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

132128
# Add any extra paths that contain custom files (such as robots.txt or
133129
# .htaccess) here, relative to this directory. These files are copied
134130
# directly to the root of the documentation.
135-
#html_extra_path = []
131+
# html_extra_path = []
136132

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

141137
# If true, SmartyPants will be used to convert quotes and dashes to
142138
# typographically correct entities.
143-
#html_use_smartypants = True
139+
# html_use_smartypants = True
144140

145141
# Custom sidebar templates, maps document names to template names.
146-
#html_sidebars = {}
142+
# html_sidebars = {}
147143

148144
# Additional templates that should be rendered to pages, maps page names to
149145
# template names.
150-
#html_additional_pages = {}
146+
# html_additional_pages = {}
151147

152148
# If false, no module index is generated.
153-
#html_domain_indices = True
149+
# html_domain_indices = True
154150

155151
# If false, no index is generated.
156-
#html_use_index = True
152+
# html_use_index = True
157153

158154
# If true, the index is split into individual pages for each letter.
159-
#html_split_index = False
155+
# html_split_index = False
160156

161157
# If true, links to the reST sources are added to the pages.
162-
#html_show_sourcelink = True
158+
# html_show_sourcelink = True
163159

164160
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
165-
#html_show_sphinx = True
161+
# html_show_sphinx = True
166162

167163
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
168-
#html_show_copyright = True
164+
# html_show_copyright = True
169165

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

175171
# This is the file name suffix for HTML files (e.g. ".xhtml").
176-
#html_file_suffix = None
172+
# html_file_suffix = None
177173

178174
# Output file base name for HTML help builder.
179-
htmlhelp_basename = 'probablepeopledoc'
175+
htmlhelp_basename = "probablepeopledoc"
180176

181177

182178
# -- Options for LaTeX output ---------------------------------------------
183179

184180
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': '',
181+
# The paper size ('letterpaper' or 'a4paper').
182+
# 'papersize': 'letterpaper',
183+
# The font size ('10pt', '11pt' or '12pt').
184+
# 'pointsize': '10pt',
185+
# Additional stuff for the LaTeX preamble.
186+
# 'preamble': '',
193187
}
194188

195189
# Grouping the document tree into LaTeX files. List of tuples
196190
# (source start file, target name, title,
197191
# author, documentclass [howto, manual, or own class]).
198192
latex_documents = [
199-
('index', 'probablepeople.tex', u'probablepeople Documentation',
200-
u'Cathy Deng, Forest Gregg', 'manual'),
193+
(
194+
"index",
195+
"probablepeople.tex",
196+
"probablepeople Documentation",
197+
"Cathy Deng, Forest Gregg",
198+
"manual",
199+
),
201200
]
202201

203202
# The name of an image file (relative to this directory) to place at the top of
204203
# the title page.
205-
#latex_logo = None
204+
# latex_logo = None
206205

207206
# For "manual" documents, if this is true, then toplevel headings are parts,
208207
# not chapters.
209-
#latex_use_parts = False
208+
# latex_use_parts = False
210209

211210
# If true, show page references after internal links.
212-
#latex_show_pagerefs = False
211+
# latex_show_pagerefs = False
213212

214213
# If true, show URL addresses after external links.
215-
#latex_show_urls = False
214+
# latex_show_urls = False
216215

217216
# Documents to append as an appendix to all manuals.
218-
#latex_appendices = []
217+
# latex_appendices = []
219218

220219
# If false, no module index is generated.
221-
#latex_domain_indices = True
220+
# latex_domain_indices = True
222221

223222

224223
# -- Options for manual page output ---------------------------------------
225224

226225
# One entry per manual page. List of tuples
227226
# (source start file, name, description, authors, manual section).
228227
man_pages = [
229-
('index', 'probablepeople', u'probablepeople Documentation',
230-
[u'Cathy Deng, Forest Gregg'], 1)
228+
(
229+
"index",
230+
"probablepeople",
231+
"probablepeople Documentation",
232+
["Cathy Deng, Forest Gregg"],
233+
1,
234+
)
231235
]
232236

233237
# If true, show URL addresses after external links.
234-
#man_show_urls = False
238+
# man_show_urls = False
235239

236240

237241
# -- Options for Texinfo output -------------------------------------------
@@ -240,19 +244,25 @@
240244
# (source start file, target name, title, author,
241245
# dir menu entry, description, category)
242246
texinfo_documents = [
243-
('index', 'probablepeople', u'probablepeople Documentation',
244-
u'Cathy Deng, Forest Gregg', 'probablepeople', 'One line description of project.',
245-
'Miscellaneous'),
247+
(
248+
"index",
249+
"probablepeople",
250+
"probablepeople Documentation",
251+
"Cathy Deng, Forest Gregg",
252+
"probablepeople",
253+
"One line description of project.",
254+
"Miscellaneous",
255+
),
246256
]
247257

248258
# Documents to append as an appendix to all manuals.
249-
#texinfo_appendices = []
259+
# texinfo_appendices = []
250260

251261
# If false, no module index is generated.
252-
#texinfo_domain_indices = True
262+
# texinfo_domain_indices = True
253263

254264
# How to display URL addresses: 'footnote', 'no', or 'inline'.
255-
#texinfo_show_urls = 'footnote'
265+
# texinfo_show_urls = 'footnote'
256266

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

0 commit comments

Comments
 (0)