Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(sphinx): update conf #3682

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Comment on lines +43 to +48
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need all of these extensions?

]

# 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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stray space

"Vyper",
"Vyper Documentation",
author,
Expand Down
Loading