Skip to content

Commit 019c1cd

Browse files
committed
chore(docs[conf]): Convert to f-strings
1 parent 9675bb3 commit 019c1cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@
132132
rediraffe_redirects = "redirects.txt"
133133
rediraffe_branch = "master~1"
134134

135-
htmlhelp_basename = "%sdoc" % about["__title__"]
135+
htmlhelp_basename = f"{about['__title__']}doc"
136136

137137
latex_documents = [
138138
(
139139
"index",
140-
"{}.tex".format(about["__package_name__"]),
141-
"{} Documentation".format(about["__title__"]),
140+
f"{about['__package_name__']}.tex",
141+
f"{about['__title__']} Documentation",
142142
about["__author__"],
143143
"manual",
144144
)
@@ -148,7 +148,7 @@
148148
(
149149
"index",
150150
about["__package_name__"],
151-
"{} Documentation".format(about["__title__"]),
151+
f"{about['__title__']} Documentation",
152152
about["__author__"],
153153
1,
154154
)
@@ -157,8 +157,8 @@
157157
texinfo_documents = [
158158
(
159159
"index",
160-
"{}".format(about["__package_name__"]),
161-
"{} Documentation".format(about["__title__"]),
160+
about["__package_name__"],
161+
f"{about['__title__']} Documentation",
162162
about["__author__"],
163163
about["__package_name__"],
164164
about["__description__"],

0 commit comments

Comments
 (0)