You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/_static/kendrasearchtools.js
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
/*
2
-
* searchtools.js
2
+
* kendrasearchtools.js
3
3
* ~~~~~~~~~~~~~~~~
4
4
*
5
-
* Sphinx JavaScript utilities for the full-text search.
5
+
* A modification of searchtools.js (https://github.com/sphinx-doc/sphinx/blob/275d9/sphinx/themes/basic/static/searchtools.js)
6
+
* where the default full-text search implemented in searchtools.js is replaced with AWS Kendra searching over multiple
7
+
* websites. The default full-text search is still kept and implemented as a fallback in the case that the Kendra search doesn't work.
6
8
*
7
9
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
8
10
* :license: BSD, see LICENSE for details.
@@ -305,7 +307,7 @@ var Search = {
305
307
Search.stopPulse();
306
308
Search.title.text(_('Search Results'));
307
309
if(!resultCount)
308
-
Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.'));
310
+
Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve used the correct terminology.'));
309
311
else
310
312
Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s',resultCount));
Copy file name to clipboardExpand all lines: doc/_templates/search.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
{# Translators: Search is a noun, not a verb #}
39
39
<h2>{{ _('Search Results') }}</h2>
40
40
{% if not search_results %}
41
-
<p>{{ _('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.') }}</p>
41
+
<p>{{ _('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve used the correct terminology.') }}</p>
0 commit comments