summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-02-14 10:16:16 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-02-14 10:16:16 -0500
commitae5625f3d9bfb82efe811fe7314d2b1499520da7 (patch)
tree8bc9c962d910f70fae3eb49a557be526c256cf30 /doc
parent472fcea10aaf264c2980733b33e25c76c2a927cb (diff)
downloadsqlalchemy-ae5625f3d9bfb82efe811fe7314d2b1499520da7.tar.gz
update the search to call searchindex.js in the latest way
sphinx decides we should be, [ticket:2408]
Diffstat (limited to 'doc')
-rw-r--r--doc/build/templates/search.mako8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/build/templates/search.mako b/doc/build/templates/search.mako
index 5ce71ebed..68e3fb991 100644
--- a/doc/build/templates/search.mako
+++ b/doc/build/templates/search.mako
@@ -7,6 +7,13 @@
${_('Search')}
</%block>
+<%block name="headers">
+ ${parent.headers()}
+ <script type="text/javascript">
+ jQuery(function() { Search.loadIndex("searchindex.js"); });
+ </script>
+</%block>
+
<div id="searchform">
<h3>Enter Search Terms:</h3>
<form class="search" action="${pathto('search')}" method="get">
@@ -20,5 +27,4 @@
<%block name="footer">
${parent.footer()}
- <script type="text/javascript" src="searchindex.js"></script>
</%block>