Skip to content

Commit

Permalink
Fix broken doc searching in built-in template
Browse files Browse the repository at this point in the history
Analogue to changes made in the Read The Docs theme in
readthedocs/sphinx_rtd_theme#1021
  • Loading branch information
lunkwill42 committed Mar 25, 2022
1 parent 79e9277 commit b8513b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/templates/bootstrap/search.html
Expand Up @@ -11,6 +11,7 @@
{% set title = _('Search') %}
{% block extrahead %}
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }} "></script>
<script type="text/javascript" src="{{ pathto('_static/language_data.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('searchindex.js', 1) }} "></script>
{# this is used when loading the search index using $.ajax fails,
such as on Chrome for documents on localhost #}
Expand Down

0 comments on commit b8513b5

Please sign in to comment.