diff options
Diffstat (limited to 'Doc/source/conf.py')
-rw-r--r-- | Doc/source/conf.py | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/Doc/source/conf.py b/Doc/source/conf.py index b95119db..982af803 100644 --- a/Doc/source/conf.py +++ b/Doc/source/conf.py @@ -30,14 +30,17 @@ needs_sphinx = "1.3" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.napoleon", "sphinx.ext.coverage", "sphinx.ext.autosectionlabel"] +extensions = [ + "sphinx.ext.autodoc", + "sphinx.ext.viewcode", + "sphinx.ext.napoleon", + "sphinx.ext.coverage", + "sphinx.ext.autosectionlabel", +] autodoc_mock_imports = ["gtk", "reportlab"] -autodoc_default_options = { - 'members': True, - 'inherited-members': True -} +autodoc_default_options = {"members": True, "inherited-members": True} # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] @@ -52,9 +55,11 @@ source_suffix = ".rst" master_doc = "index" # General information about the project. -project = u"fontTools" -copyright = u"2020, Just van Rossum, Behdad Esfahbod, and the fontTools Authors. CC BY-SA 4.0" -author = u"Just van Rossum, Behdad Esfahbod, and the fontTools Authors" +project = "fontTools" +copyright = ( + "2020, Just van Rossum, Behdad Esfahbod, and the fontTools Authors. CC BY-SA 4.0" +) +author = "Just van Rossum, Behdad Esfahbod, and the fontTools Authors" # HTML page title html_title = "fontTools Documentation" @@ -64,9 +69,9 @@ html_title = "fontTools Documentation" # built documents. # # The short X.Y version. -version = u"4.0" +version = "4.0" # The full version, including alpha/beta/rc tags. -release = u"4.0" +release = "4.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -142,8 +147,8 @@ latex_documents = [ ( master_doc, "fontTools.tex", - u"fontTools Documentation", - u"Just van Rossum, Behdad Esfahbod et al.", + "fontTools Documentation", + "Just van Rossum, Behdad Esfahbod et al.", "manual", ) ] @@ -153,7 +158,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [(master_doc, "fonttools", u"fontTools Documentation", [author], 1)] +man_pages = [(master_doc, "fonttools", "fontTools Documentation", [author], 1)] # -- Options for Texinfo output ------------------------------------------- @@ -165,7 +170,7 @@ texinfo_documents = [ ( master_doc, "fontTools", - u"fontTools Documentation", + "fontTools Documentation", author, "fontTools", "A library for manipulating fonts, written in Python.", |