summaryrefslogtreecommitdiff
path: root/debian/patches/01-fix-sphinxdoc-conf.patch
blob: 54ee370cc241d0b31c0b5200b9ff15a5fb4859c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Don't try to detect the version, don't use Pylons theme.
Author: Andrew Shadura <andrewsh@debian.org>

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,7 +19,7 @@
 
 import sys, os
 import pkg_resources
-import pylons_sphinx_themes
+# import pylons_sphinx_themes
 
 # General configuration
 # ---------------------
@@ -47,7 +47,7 @@
 # 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
 
@@ -89,9 +89,9 @@
 # -----------------------
 
 # Add and use Pylons theme
-html_theme = 'pylons'
-html_theme_path = pylons_sphinx_themes.get_html_themes_path()
-html_theme_options = dict(github_url='http://github.com/Pylons/waitress')
+# html_theme = 'pylons'
+# html_theme_path = # pylons_sphinx_themes.get_html_themes_path()
+# html_theme_options = dict(github_url='http://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