summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2019-01-07 18:26:54 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-01-07 18:26:54 +0100
commit7f3564c68949951dafc1fd62161210db35b7fd33 (patch)
treee10f7bb3efe0c8e31c3f37e9f5283abb8b3c4e8e
parent01a6ee4d73f8ad5311782d3d88b45f9b94b216ba (diff)
Don't try to detect the version, don't use Pylons theme.
Gbp-Pq: Name 01-fix-sphinxdoc-conf.patch
-rw-r--r--docs/conf.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c04eaa3..19fc33c 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.0.1'
# 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