summaryrefslogtreecommitdiffstats
path: root/sphinx/themes/basic/static/language_data.js_t
blob: 80f2a4f5343d82bfcb67645a3fdea68567d2fbec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * language_data.js
 * ~~~~~~~~~~~~~~~~
 *
 * This script contains the language-specific data used by searchtools.js,
 * namely the list of stopwords, stemmer, scorer and splitter.
 *
 * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
 * :license: BSD, see LICENSE for details.
 *
 */

var stopwords = {{ search_language_stop_words }};

{% if search_language_stemming_code %}
/* Non-minified version is copied as a separate JS file, is available */
{{ search_language_stemming_code|safe }}
{% endif -%}

{% if search_scorer_tool %}
{{ search_scorer_tool|safe }}
{% endif -%}

{% if search_word_splitter_code %}
{{ search_word_splitter_code }}
{% endif -%}