这是indexloc提供的服务,不要输入任何密码
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/ambv/black
rev: 20.8b1
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
13 changes: 6 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
master_doc = "index"

# General information about the project.
project = u"Cleo"
copyright = u"2014, Sébastien Eustace"
project = "Cleo"
copyright = "2014, Sébastien Eustace"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -195,7 +195,7 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
("index", "Cleo.tex", u"Cleo Documentation", u"Sébastien Eustace", "manual")
("index", "Cleo.tex", "Cleo Documentation", "Sébastien Eustace", "manual")
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -223,7 +223,7 @@

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [("index", "cleo", u"Cleo Documentation", [u"Sébastien Eustace"], 1)]
man_pages = [("index", "cleo", "Cleo Documentation", ["Sébastien Eustace"], 1)]

# If true, show URL addresses after external links.
# man_show_urls = False
Expand All @@ -238,8 +238,8 @@
(
"index",
"Cleo",
u"Cleo Documentation",
u"Sébastien Eustace",
"Cleo Documentation",
"Sébastien Eustace",
"Cleo",
"One line description of project.",
"Miscellaneous",
Expand Down Expand Up @@ -267,7 +267,6 @@
def setup(app):
app.add_stylesheet("theme_overrides.css")


else:
html_context = {
"css_files": [
Expand Down