From f4cb15073a3ff01d9f919bb9e26494025b312cf6 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 9 Apr 2020 15:37:37 -0400 Subject: [PATCH 1/2] Black reformatting with Python 3 target. --- docs/conf.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d84dc06..f6a048e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,18 +43,18 @@ master_doc = "index" # General information about the project. -project = u"Adafruit CIRCUITPYTHON_TSL2561 Library" -copyright = u"2017 Carter Nelson" -author = u"Carter Nelson" +project = "Adafruit CIRCUITPYTHON_TSL2561 Library" +copyright = "2017 Carter Nelson" +author = "Carter Nelson" # 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. @@ -144,7 +144,7 @@ ( master_doc, "AdafruitCIRCUITPYTHON_TSL2561Library.tex", - u"Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", + "Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", author, "manual", ), @@ -158,7 +158,7 @@ ( master_doc, "AdafruitCIRCUITPYTHON_TSL2561library", - u"Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", + "Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", [author], 1, ) @@ -173,7 +173,7 @@ ( master_doc, "AdafruitCIRCUITPYTHON_TSL2561Library", - u"Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", + "Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", author, "AdafruitCIRCUITPYTHON_TSL2561Library", "One line description of project.", From 75681584707210e35c6dc4c9b5b00a2f610954e0 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 9 Apr 2020 21:56:42 -0400 Subject: [PATCH 2/2] Remove "CIRCUITPYTHON_" from library name in conf.py --- docs/conf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f6a048e..c0b228f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,7 +43,7 @@ master_doc = "index" # General information about the project. -project = "Adafruit CIRCUITPYTHON_TSL2561 Library" +project = "Adafruit TSL2561 Library" copyright = "2017 Carter Nelson" author = "Carter Nelson" @@ -118,7 +118,7 @@ html_favicon = "_static/favicon.ico" # Output file base name for HTML help builder. -htmlhelp_basename = "AdafruitCIRCUITPYTHON_TSL2561Librarydoc" +htmlhelp_basename = "AdafruitTSL2561Librarydoc" # -- Options for LaTeX output --------------------------------------------- @@ -143,8 +143,8 @@ latex_documents = [ ( master_doc, - "AdafruitCIRCUITPYTHON_TSL2561Library.tex", - "Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", + "AdafruitTSL2561Library.tex", + "Adafruit TSL2561 Library Documentation", author, "manual", ), @@ -157,8 +157,8 @@ man_pages = [ ( master_doc, - "AdafruitCIRCUITPYTHON_TSL2561library", - "Adafruit CIRCUITPYTHON_TSL2561 Library Documentation", + "AdafruitTSL2561library", + "Adafruit TSL2561 Library Documentation", [author], 1, )