From dfae3f0d0d060ec415bdfa5d86d2cafd57787c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Fri, 17 Nov 2023 11:11:05 +0100 Subject: [PATCH] DOC Enable sphinx search summary (#27797) --- doc/conf.py | 2 +- doc/themes/scikit-learn-modern/layout.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 288aba5404a..9a0c09438d8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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. diff --git a/doc/themes/scikit-learn-modern/layout.html b/doc/themes/scikit-learn-modern/layout.html index c9d232db884..779435323be 100644 --- a/doc/themes/scikit-learn-modern/layout.html +++ b/doc/themes/scikit-learn-modern/layout.html @@ -10,8 +10,8 @@ - - + + {{ metatags }} @@ -35,7 +35,7 @@ {%- endif %} {%- endfor %} - + {%- block extrahead %} {% endblock %}