Skip to content

Commit

Permalink
docs(sphinx): update conf
Browse files Browse the repository at this point in the history
  • Loading branch information
sambacha authored Dec 5, 2023
1 parent cbac5ab commit 1af5a67
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -151,6 +144,7 @@
latex_documents = [
(
master_doc,
slug,
"Vyper.tex",
"Vyper Documentation",
"Vyper Team (originally created by Vitalik Buterin)",
Expand All @@ -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 -------------------------------------------
Expand All @@ -174,6 +168,7 @@
texinfo_documents = [
(
master_doc,
slug,
"Vyper",
"Vyper Documentation",
author,
Expand Down

0 comments on commit 1af5a67

Please sign in to comment.