From 019c1cd91b3ec46005129e13c157f76fb5d98ef0 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 22 Jul 2023 06:09:56 -0500 Subject: [PATCH] chore(docs[conf]): Convert to f-strings --- docs/conf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d2a49e43de..083e01c36a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -132,13 +132,13 @@ rediraffe_redirects = "redirects.txt" rediraffe_branch = "master~1" -htmlhelp_basename = "%sdoc" % about["__title__"] +htmlhelp_basename = f"{about['__title__']}doc" latex_documents = [ ( "index", - "{}.tex".format(about["__package_name__"]), - "{} Documentation".format(about["__title__"]), + f"{about['__package_name__']}.tex", + f"{about['__title__']} Documentation", about["__author__"], "manual", ) @@ -148,7 +148,7 @@ ( "index", about["__package_name__"], - "{} Documentation".format(about["__title__"]), + f"{about['__title__']} Documentation", about["__author__"], 1, ) @@ -157,8 +157,8 @@ texinfo_documents = [ ( "index", - "{}".format(about["__package_name__"]), - "{} Documentation".format(about["__title__"]), + about["__package_name__"], + f"{about['__title__']} Documentation", about["__author__"], about["__package_name__"], about["__description__"],