DOC Enable sphinx search summary (#27797)

This commit is contained in:
Loïc Estève 2023-11-17 11:11:05 +01:00 committed by GitHub
parent 9136fc5c96
commit dfae3f0d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -309,7 +309,7 @@ for old_link in redirects:
html_additional_pages[old_link] = "redirects.html"
# Not showing the search summary makes the search page load faster.
html_show_search_summary = False
html_show_search_summary = True
# The "summary-anchor" IDs will be overwritten via JavaScript to be unique.

View File

@ -10,8 +10,8 @@
<!DOCTYPE html>
<!-- data-theme below is forced to be "light" but should be changed if we use pydata-theme-sphinx in the future -->
<!--[if IE 8]><html class="no-js lt-ie9" lang="{{ lang_attr }}" data-theme="light"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ lang_attr }}" data-theme="light"> <!--<![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="{{ lang_attr }}" data-content_root="{{ url_root }}" data-theme="light"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ lang_attr }}" data-content_root="{{ url_root }}" data-theme="light"> <!--<![endif]-->
<head>
<meta charset="utf-8">
{{ metatags }}
@ -35,7 +35,7 @@
{%- endif %}
{%- endfor %}
<link rel="stylesheet" href="{{ pathto('_static/' + styles[0], 1) }}" type="text/css" />
<script id="documentation_options" data-url_root="{{ pathto('', 1) }}" src="{{ pathto('_static/documentation_options.js', 1) }}"></script>
<script id="documentation_options" data-url_root="{{ url_root }}" src="{{ pathto('_static/documentation_options.js', 1) }}"></script>
<script src="{{ pathto('_static/js/vendor/jquery-3.6.3.slim.min.js', 1) }}"></script>
<script src="{{ pathto('_static/js/details-permalink.js', 1) }}"></script>
{%- block extrahead %} {% endblock %}