diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-02-14 10:18:17 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-02-14 10:18:17 -0500 |
commit | 2e86311559db8e2dbb5752c721c33eef9d35ac75 (patch) | |
tree | 6561880771f359e80257d61cefa0ff78254bb5ed | |
parent | 1543eb5ab72656ae67d609ae9465d173b1cfaebc (diff) | |
download | sqlalchemy-2e86311559db8e2dbb5752c721c33eef9d35ac75.tar.gz |
update the search to call searchindex.js in the latest way
sphinx decides we should be, [ticket:2408]
-rw-r--r-- | doc/build/templates/search.mako | 8 |
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> |