Skip to content

Commit

Permalink
config: disable search summaries by default
Browse files Browse the repository at this point in the history
After a search, the Sphinx client-side JS can retrieve a snippet of text to
display for each result, by making a network request for each item.
  • Loading branch information
jayaddison committed Jan 31, 2024
1 parent a5dad4c commit d565ff2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/sphinxdoc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@
# a list of builtin themes.
html_theme = 'sphinxdoc_mtg'

# If true, the text around the keyword is shown as summary of each search result.
# Default is True.
html_show_search_summary = False

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = ['_templates']

Expand Down

0 comments on commit d565ff2

Please sign in to comment.