Skip to content

Commit

Permalink
html search: Do not load language_data.js in non-search pages (#1021)
Browse files Browse the repository at this point in the history
This is needed with changes in sphinx 3.4.x.

See sphinx-doc/sphinx@f5289bb
  • Loading branch information
Blendify committed Dec 2, 2020
1 parent 562bc2a commit 24f8e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_rtd_theme/search.html
Expand Up @@ -13,6 +13,7 @@
{%- block scripts %}
{{ super() }}
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/language_data.js', 1) }}"></script>
{%- endblock %}
{% block footer %}
<script type="text/javascript">
Expand Down

0 comments on commit 24f8e31

Please sign in to comment.