mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
This PR allows to serve JavaScript test fixtures using a fixture-based logic as for Python tests. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
27 lines
545 B
JavaScript
27 lines
545 B
JavaScript
/*
|
|
* 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-2024 by the Sphinx team, see AUTHORS.
|
|
* :license: BSD, see LICENSE for details.
|
|
*
|
|
*/
|
|
|
|
var stopwords = [];
|
|
|
|
|
|
/* Non-minified version is copied as a separate JS file, if available */
|
|
|
|
/**
|
|
* Dummy stemmer for languages without stemming rules.
|
|
*/
|
|
var Stemmer = function() {
|
|
this.stemWord = function(w) {
|
|
return w;
|
|
}
|
|
}
|
|
|