File: remove-openstackdocstheme.patch

package info (click to toggle)
python-openstacksdk 0.8.1-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 2,748 kB
  • sloc: python: 15,505; makefile: 156; sh: 46
file content (34 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download | duplicates (2)
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
Description: Drop openstackdocstheme from sphinx documentation as it causes
             a "search.html doesn't look like a Sphinx search page" error
             for dh_sphinxdoc.
Author: Corey Bryant <corey.bryant@canonical.com>
Forwarded: no

--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -15,7 +15,7 @@
 import os
 import sys
 
-import openstackdocstheme
+#import openstackdocstheme
 
 sys.path.insert(0, os.path.abspath('../..'))
 # -- General configuration ----------------------------------------------------
@@ -93,13 +93,13 @@
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'openstackdocs'
+html_theme = 'default'
 
 # Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = [openstackdocstheme.get_html_theme_path()]
+#html_theme_path = [openstackdocstheme.get_html_theme_path()]
 
 # Don't let openstackdocstheme insert TOCs automatically.
-theme_include_auto_toc = False
+#theme_include_auto_toc = False
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = '%sdoc' % project