Skip to content

Commit 882940b

Browse files
committed
Fixed #59 -- restore boilerplate JS to fix Sphinx quick search.
1 parent 6bd1d52 commit 882940b

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

docs/theme/deis/layout.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1+
{%- block doctype -%}
12
<!DOCTYPE html>
3+
{%- endblock %}
4+
{%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
5+
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
6+
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and
7+
(sidebars != []) %}
8+
{%- set url_root = pathto('', 1) %}
9+
{# XXX necessary? #}
10+
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
11+
{%- if not embedded and docstitle %}
12+
{%- set titlesuffix = " &mdash; "|safe + docstitle|e %}
13+
{%- else %}
14+
{%- set titlesuffix = "" %}
15+
{%- endif %}
216
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
317
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
418
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
@@ -74,6 +88,7 @@
7488

7589
<div class="span2 offset1 docs-sidebar column_calc">
7690
<div class="docs-border"></div>
91+
{%- include "searchbox.html" %}
7792
{{ toctree(collapse=False, maxdepth=3) }}
7893
</div>
7994

@@ -109,7 +124,7 @@
109124
</script>
110125
<script src="{{ pathto('_static/js/checkURL.js', 1) }}"></script>
111126
<script src="{{ pathto('_static/js/adjustments.js', 1) }}"></script>
112-
127+
113128

114129
</body>
115130
</html>

docs/theme/deis/theme.conf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
[theme]
2-
inherit = basic
2+
inherit = default
33
pygments_style = monokai
44

55
[options]
6-
full_logo = true
7-
textcolor = #444444
8-
headingcolor = #0c3762
9-
linkcolor = #8C7B65
10-
visitedlinkcolor = #AFA599
11-
hoverlinkcolor = #4e4334
6+
rightsidebar = true

0 commit comments

Comments
 (0)