summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2019-01-08 15:54:08 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-01-08 15:54:08 +0100
commitef38a57f3e1e17b441d28c66c77b48739e73b616 (patch)
treed6390052dcd53c412eb0c471ff8088267c6b7aec
parent421e206b376248e5f8b4639dbc794321a37c6d7b (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.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c04eaa3..c1a4f06 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
@@ -170,13 +170,13 @@ 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
# ------------------------