diff options
author | Andrew Shadura <andrewsh@debian.org> | 2021-01-09 10:16:20 +0100 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2021-01-09 10:16:20 +0100 |
commit | abf1ec7b7a2af1a449f7535c96eb713da02da405 (patch) | |
tree | d1e87ca6102f3d43d15e80f732761f9dca0e69ce /docs/conf.py | |
parent | 923457ca310333f05f4515f2fc40bc96ec56cb61 (diff) |
Don't try to detect the version, don't use Pylons theme.
Gbp-Pq: Name 01-fix-sphinxdoc-conf.patch
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/conf.py b/docs/conf.py index cf0ff9b..e08452a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -19,7 +19,7 @@ import datetime import pkg_resources -import pylons_sphinx_themes +# import pylons_sphinx_themes # General configuration # --------------------- @@ -53,7 +53,7 @@ copyright = "2012-%s, Agendaless Consulting <chrism@plope.com>" % thisyear # other places throughout the built documents. # # The short X.Y version. -version = pkg_resources.get_distribution("waitress").version +version = '1.4.1' # pkg_resources.get_distribution("waitress").version # The full version, including alpha/beta/rc tags. release = version @@ -100,9 +100,9 @@ smartquotes = False # ----------------------- # Add and use Pylons theme -html_theme = "pylons" -html_theme_path = pylons_sphinx_themes.get_html_themes_path() -html_theme_options = dict(github_url="https://github.com/Pylons/waitress") +# html_theme = "pylons" +# html_theme_path = pylons_sphinx_themes.get_html_themes_path() +# html_theme_options = dict(github_url="https://github.com/Pylons/waitress") # The style sheet to use for HTML and HTML Help pages. A file of that name # must exist either in Sphinx' static/ path, or in one of the custom paths @@ -172,15 +172,15 @@ html_last_updated_fmt = "%b %d, %Y" htmlhelp_basename = "waitress" # Control display of sidebars -html_sidebars = { - "**": [ - "localtoc.html", - "ethicalads.html", - "relations.html", - "sourcelink.html", - "searchbox.html", - ] -} +# html_sidebars = { +# "**": [ +# "localtoc.html", +# "ethicalads.html", +# "relations.html", +# "sourcelink.html", +# "searchbox.html", +# ] +# } # Options for LaTeX output # ------------------------ |