Skip to content

Commit

Permalink
Remove deprecated use of script_files
Browse files Browse the repository at this point in the history
  • Loading branch information
Blendify committed Feb 25, 2019
1 parent ecbc09f commit 4a7dc08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sphinx_rtd_theme/search.html
Expand Up @@ -9,7 +9,10 @@
#}
{%- extends "layout.html" %}
{% set title = _('Search') %}
{% set script_files = script_files + ['_static/searchtools.js'] %}
{%- block scripts %}
{{ super() }}
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
{%- endblock %}
{% block footer %}
<script type="text/javascript">
jQuery(function() { Search.loadIndex("{{ pathto('searchindex.js', 1) }}"); });
Expand Down

0 comments on commit 4a7dc08

Please sign in to comment.