summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrew.shadura@collabora.co.uk>2019-01-07 18:28:41 +0100
committerAndrej Shadura <andrew.shadura@collabora.co.uk>2019-01-07 18:28:41 +0100
commit01a6ee4d73f8ad5311782d3d88b45f9b94b216ba (patch)
treebcab085c375cea369f48555558157cfc34e8d5e3
parent9a219cce7a29b1f97d4b22fc1637332e785e7793 (diff)
Unapply patchdebian/1.2.0_b2-1
-rw-r--r--docs/conf.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 19fc33c..c04eaa3 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 = '1.0.1'
+version = pkg_resources.get_distribution('waitress').version
# The full version, including alpha/beta/rc tags.
release = version
@@ -98,9 +98,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