From 167bfbb5c02e042fe834e7dc680daa89bc737bd0 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 9 Apr 2020 15:45:27 -0400 Subject: [PATCH 1/2] Black reformatting with Python 3 target. --- docs/conf.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 966aa1b..5d88e7b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,18 +35,18 @@ master_doc = "index" # General information about the project. -project = u"Adafruit THERMISTOR Library" -copyright = u"2017 Scott Shawcroft" -author = u"Scott Shawcroft" +project = "Adafruit THERMISTOR Library" +copyright = "2017 Scott Shawcroft" +author = "Scott Shawcroft" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = u"1.0" +version = "1.0" # The full version, including alpha/beta/rc tags. -release = u"1.0" +release = "1.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -136,8 +136,8 @@ ( master_doc, "AdafruitTHERMISTORLibrary.tex", - u"Adafruit THERMISTOR Library Documentation", - u"Phiilip Moyer", + "Adafruit THERMISTOR Library Documentation", + "Phiilip Moyer", "manual", ), ] @@ -150,7 +150,7 @@ ( master_doc, "AdafruitTHERMISTORlibrary", - u"Adafruit THERMISTOR Library Documentation", + "Adafruit THERMISTOR Library Documentation", [author], 1, ) @@ -165,7 +165,7 @@ ( master_doc, "AdafruitTHERMISTORLibrary", - u"Adafruit THERMISTOR Library Documentation", + "Adafruit THERMISTOR Library Documentation", author, "AdafruitTHERMISTORLibrary", "One line description of project.", From 92a70620940d75bc12bb8eaac52d720522cf3fc7 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 9 Apr 2020 22:01:23 -0400 Subject: [PATCH 2/2] Canonicalize library name in conf.py --- docs/conf.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5d88e7b..67d533f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,7 +35,7 @@ master_doc = "index" # General information about the project. -project = "Adafruit THERMISTOR Library" +project = "Adafruit Thermistor Library" copyright = "2017 Scott Shawcroft" author = "Scott Shawcroft" @@ -110,7 +110,7 @@ html_favicon = "_static/favicon.ico" # Output file base name for HTML help builder. -htmlhelp_basename = "AdafruitTHERMISTORLibrarydoc" +htmlhelp_basename = "AdafruitThermistorLibrarydoc" # -- Options for LaTeX output --------------------------------------------- @@ -135,8 +135,8 @@ latex_documents = [ ( master_doc, - "AdafruitTHERMISTORLibrary.tex", - "Adafruit THERMISTOR Library Documentation", + "AdafruitThermistorLibrary.tex", + "Adafruit Thermistor Library Documentation", "Phiilip Moyer", "manual", ), @@ -149,8 +149,8 @@ man_pages = [ ( master_doc, - "AdafruitTHERMISTORlibrary", - "Adafruit THERMISTOR Library Documentation", + "AdafruitThermistorlibrary", + "Adafruit Thermistor Library Documentation", [author], 1, ) @@ -164,10 +164,10 @@ texinfo_documents = [ ( master_doc, - "AdafruitTHERMISTORLibrary", - "Adafruit THERMISTOR Library Documentation", + "AdafruitThermistorLibrary", + "Adafruit Thermistor Library Documentation", author, - "AdafruitTHERMISTORLibrary", + "AdafruitThermistorLibrary", "One line description of project.", "Miscellaneous", ),