26 lines
668 B
Text
26 lines
668 B
Text
|
/*
|
||
|
* 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-2020 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 JS is _stemmer.js if file is provided */ {% endif -%}
|
||
|
{{ search_language_stemming_code|safe }}
|
||
|
|
||
|
{% if search_scorer_tool %}
|
||
|
{{ search_scorer_tool|safe }}
|
||
|
{% endif -%}
|
||
|
|
||
|
{% if search_word_splitter_code %}
|
||
|
{{ search_word_splitter_code }}
|
||
|
{% endif -%}
|