blob: 5fa8c2c5beff22f2d4c5e71373a584bdca560853 (
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
37
38
|
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 = '0.8.10'
# The full version, including alpha/beta/rc tags.
release = version
@@ -89,10 +89,10 @@
# -----------------------
# Add and use Pylons theme
-sys.path.append(os.path.abspath('_themes'))
-html_theme = 'pylons'
-html_theme_path = pylons_sphinx_themes.get_html_themes_path()
-html_theme_options = dict(github_url='http://github.com/Pylons/waitress')
+# sys.path.append(os.path.abspath('_themes'))
+# 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
|