From 1af5a6766614760220065affa9f8537fecbbfa0c Mon Sep 17 00:00:00 2001 From: sam bacha Date: Tue, 5 Dec 2023 02:18:37 -0800 Subject: [PATCH] docs(sphinx): update conf --- docs/conf.py | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 12af82b6e4..c5915788c1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,7 +40,12 @@ # ones. extensions = [ "sphinx.ext.autodoc", + "sphinx.ext.autosummary", + "sphinx.ext.coverage", + "sphinx.ext.doctest", + "sphinx.ext.graphviz", "sphinx.ext.intersphinx", + "sphinx.ext.linkcode", ] # Add any paths that contain templates here, relative to this directory. @@ -54,26 +59,14 @@ # The master toctree document. master_doc = "toctree" -# General information about the project. -project = "Vyper" -copyright = "2017-2020 CC-BY-4.0 Vyper Team" -author = "Vyper Team (originally created by Vitalik Buterin)" +td = datetime.now(tz=timezone.utc) +project = u'Vyper' +slug = re.sub(r'\W+', '-', project.lower()) +author = u'Vyperlang Team & Contributors' +# copyright = author +copyright = "2017, 2020-2023 Vyperlang. Vyper Documentation is licensed under CC BY 4.0 " +language = 'en' -# 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 = "" -# The full version, including alpha/beta/rc tags. -release = "" - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = "python" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -151,6 +144,7 @@ latex_documents = [ ( master_doc, + slug, "Vyper.tex", "Vyper Documentation", "Vyper Team (originally created by Vitalik Buterin)", @@ -163,7 +157,7 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [(master_doc, "vyper", "Vyper Documentation", [author], 1)] +man_pages = [(master_doc, slug, "vyper", "Vyper Documentation", [author], 1)] # -- Options for Texinfo output ------------------------------------------- @@ -174,6 +168,7 @@ texinfo_documents = [ ( master_doc, + slug, "Vyper", "Vyper Documentation", author,