8000 Fix sphinx search · timhoffm/matplotlib@64e9ab5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64e9ab5

Browse files
committed
Fix sphinx search
Sphinx stopped loading language_data.js globally in 3.4. This file now has to be loaded explicitly on the search page. See - sphinx-doc/sphinx#8445 - readthedocs/sphinx_rtd_theme#1021
1 parent 4e4410d commit 64e9ab5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/_templates/search.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{%- block scripts %}
44
{{ super() }}
55
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
6+
<script type="text/javascript" src="{{ pathto('_static/language_data.js', 1) }}"></script>
67
{%- endblock %}
78
{% block body %}
89
<h1 id="search-documentation">{{ _('Search') }}</h1>

0 commit comments

Comments
 (0)
0