Skip to content

Commit cc9cbbf

Browse files
committed
Update copyright years
1 parent 5757969 commit cc9cbbf

File tree

1 file changed

+64
-57
lines changed

1 file changed

+64
-57
lines changed

doc/sphinx/source/conf.py

Lines changed: 64 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
#
32
# bpython documentation build configuration file, created by
43
# sphinx-quickstart on Mon Jun 8 11:58:16 2009.
@@ -16,7 +15,7 @@
1615
# If extensions (or modules to document with autodoc) are in another directory,
1716
# add these directories to sys.path here. If the directory is relative to the
1817
# documentation root, use os.path.abspath to make it absolute, like shown here.
19-
#sys.path.append(os.path.abspath('.'))
18+
# sys.path.append(os.path.abspath('.'))
2019

2120
# -- General configuration -----------------------------------------------------
2221

@@ -25,193 +24,201 @@
2524
extensions = []
2625

2726
# Add any paths that contain templates here, relative to this directory.
28-
templates_path = ['_templates']
27+
templates_path = ["_templates"]
2928

3029
# The suffix of source filenames.
31-
source_suffix = '.rst'
30+
source_suffix = ".rst"
3231

3332
# The encoding of source files.
34-
#source_encoding = 'utf-8'
33+
# source_encoding = 'utf-8'
3534

3635
# The master toctree document.
37-
master_doc = 'index'
36+
master_doc = "index"
3837

3938
# General information about the project.
40-
project = u'bpython'
41-
copyright = u'2008-2021 Bob Farrell, Andreas Stuehrk, Sebastian Ramacher, Thomas Ballinger, et al.'
39+
project = "bpython"
40+
copyright = "2008-2022 Bob Farrell, Andreas Stuehrk, Sebastian Ramacher, Thomas Ballinger, et al."
4241

4342
# The version info for the project you're documenting, acts as replacement for
4443
# |version| and |release|, also used in various other places throughout the
4544
# built documents.
4645
#
4746
# The short X.Y version.
4847

49-
version_file = os.path.join(os.path.dirname(os.path.abspath(__file__)),
50-
'../../../bpython/_version.py')
48+
version_file = os.path.join(
49+
os.path.dirname(os.path.abspath(__file__)), "../../../bpython/_version.py"
50+
)
5151

5252
with open(version_file) as vf:
53-
version = vf.read().strip().split('=')[-1].replace('\'', '')
53+
version = vf.read().strip().split("=")[-1].replace("'", "")
5454

5555
# The full version, including alpha/beta/rc tags.
5656
release = version
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.
60-
#language = None
60+
# language = None
6161

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

6868
# List of documents that shouldn't be included in the build.
69-
unused_docs = ['configuration-options']
69+
unused_docs = ["configuration-options"]
7070

7171
# List of directories, relative to source directory, that shouldn't be searched
7272
# for source files.
7373
exclude_trees = []
7474

7575
# The reST default role (used for this markup: `text`) to use for all documents.
76-
#default_role = None
76+
# default_role = None
7777

7878
# If true, '()' will be appended to :func: etc. cross-reference text.
79-
#add_function_parentheses = True
79+
# add_function_parentheses = True
8080

8181
# If true, the current module name will be prepended to all description
8282
# unit titles (such as .. function::).
83-
#add_module_names = True
83+
# add_module_names = True
8484

8585
# If true, sectionauthor and moduleauthor directives will be shown in the
8686
# output. They are ignored by default.
87-
#show_authors = False
87+
# show_authors = False
8888

8989
# The name of the Pygments (syntax highlighting) style to use.
90-
pygments_style = 'sphinx'
90+
pygments_style = "sphinx"
9191

9292
# A list of ignored prefixes for module index sorting.
93-
#modindex_common_prefix = []
93+
# modindex_common_prefix = []
9494

9595

9696
# -- Options for HTML output ---------------------------------------------------
9797

9898
# The theme to use for HTML and HTML Help pages. Major themes that come with
9999
# Sphinx are currently 'default' and 'sphinxdoc'.
100-
html_theme = 'nature'
100+
html_theme = "nature"
101101

102102
# Theme options are theme-specific and customize the look and feel of a theme
103103
# further. For a list of options available for each theme, see the
104104
# documentation.
105-
#html_theme_options = {}
105+
# html_theme_options = {}
106106

107107
# Add any paths that contain custom themes here, relative to this directory.
108-
#html_theme_path = []
108+
# html_theme_path = []
109109

110110
# The name for this set of Sphinx documents. If None, it defaults to
111111
# "<project> v<release> documentation".
112-
#html_title = None
112+
# html_title = None
113113

114114
# A shorter title for the navigation bar. Default is the same as html_title.
115-
#html_short_title = None
115+
# html_short_title = None
116116

117117
# The name of an image file (relative to this directory) to place at the top
118118
# of the sidebar.
119-
html_logo = 'logo.png'
119+
html_logo = "logo.png"
120120

121121
# The name of an image file (within the static path) to use as favicon of the
122122
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
123123
# pixels large.
124-
#html_favicon = None
124+
# html_favicon = None
125125

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

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

135135
# If true, SmartyPants will be used to convert quotes and dashes to
136136
# typographically correct entities.
137-
#html_use_smartypants = True
137+
# html_use_smartypants = True
138138

139139
# Custom sidebar templates, maps document names to template names.
140-
#html_sidebars = {}
140+
# html_sidebars = {}
141141

142142
# Additional templates that should be rendered to pages, maps page names to
143143
# template names.
144-
#html_additional_pages = {}
144+
# html_additional_pages = {}
145145

146146
# If false, no module index is generated.
147-
#html_use_modindex = True
147+
# html_use_modindex = True
148148

149149
# If false, no index is generated.
150-
#html_use_index = True
150+
# html_use_index = True
151151

152152
# If true, the index is split into individual pages for each letter.
153-
#html_split_index = False
153+
# html_split_index = False
154154

155155
# If true, links to the reST sources are added to the pages.
156-
#html_show_sourcelink = True
156+
# html_show_sourcelink = True
157157

158158
# If true, an OpenSearch description file will be output, and all pages will
159159
# contain a <link> tag referring to it. The value of this option must be the
160160
# base URL from which the finished HTML is served.
161-
html_use_opensearch = ''
161+
html_use_opensearch = ""
162162

163163
# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
164-
#html_file_suffix = ''
164+
# html_file_suffix = ''
165165

166166
# Output file base name for HTML help builder.
167-
htmlhelp_basename = 'bpythondoc'
167+
htmlhelp_basename = "bpythondoc"
168168

169169

170170
# -- Options for LaTeX output --------------------------------------------------
171171

172172
# The paper size ('letter' or 'a4').
173-
#latex_paper_size = 'letter'
173+
# latex_paper_size = 'letter'
174174

175175
# The font size ('10pt', '11pt' or '12pt').
176-
#latex_font_size = '10pt'
176+
# latex_font_size = '10pt'
177177

178178
# Grouping the document tree into LaTeX files. List of tuples
179179
# (source start file, target name, title, author, documentclass [howto/manual]).
180-
#latex_documents = [
180+
# latex_documents = [
181181
# ('index', 'bpython.tex', u'bpython Documentation',
182182
# u'Robert Farrell', 'manual'),
183-
#]
183+
# ]
184184

185185
# The name of an image file (relative to this directory) to place at the top of
186186
# the title page.
187-
#latex_logo = None
187+
# latex_logo = None
188188

189189
# For "manual" documents, if this is true, then toplevel headings are parts,
190190
# not chapters.
191-
#latex_use_parts = False
191+
# latex_use_parts = False
192192

193193
# Additional stuff for the LaTeX preamble.
194-
#latex_preamble = ''
194+
# latex_preamble = ''
195195

196196
# Documents to append as an appendix to all manuals.
197-
#latex_appendices = []
197+
# latex_appendices = []
198198

199199
# If false, no module index is generated.
200-
#latex_use_modindex = True
200+
# latex_use_modindex = True
201201

202202
# -- Options for manual page output --------------------------------------------
203203

204204
# One entry per manual page. List of tuples
205205
# (source start file, name, description, authors, manual section).
206206
man_pages = [
207-
('man-bpython', 'bpython',
208-
u'a fancy {curtsies, curses, urwid} interface to the Python interactive interpreter',
209-
[], 1),
210-
('man-bpython-config', 'bpython-config',
211-
u'user configuration file for bpython',
212-
[], 5)
207+
(
208+
"man-bpython",
209+
"bpython",
210+
"a fancy {curtsies, curses, urwid} interface to the Python interactive interpreter",
211+
[],
212+
1,
213+
),
214+
(
215+
"man-bpython-config",
216+
"bpython-config",
217+
"user configuration file for bpython",
218+
[],
219+
5,
220+
),
213221
]
214222

215223
# If true, show URL addresses after external links.
216-
#man_show_urls = False
217-
224+
# man_show_urls = False

0 commit comments

Comments
 (0)