Skip to content

Commit ba31014

Browse files
Auto-commit by GitHub Actions
1 parent 8c86cea commit ba31014

15 files changed

+188
-120
lines changed

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 7323dbfad617a26f0aa6a2d9464b053b
3+
config: 4e46978e5e165cdc48a8241d4b9a67db
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_static/doctools.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const Documentation = {
5959
Object.assign(Documentation.TRANSLATIONS, catalog.messages);
6060
Documentation.PLURAL_EXPR = new Function(
6161
"n",
62-
`return (${catalog.plural_expr})`
62+
`return (${catalog.plural_expr})`,
6363
);
6464
Documentation.LOCALE = catalog.locale;
6565
},
@@ -89,7 +89,7 @@ const Documentation = {
8989

9090
const togglerElements = document.querySelectorAll("img.toggler");
9191
togglerElements.forEach((el) =>
92-
el.addEventListener("click", (event) => toggler(event.currentTarget))
92+
el.addEventListener("click", (event) => toggler(event.currentTarget)),
9393
);
9494
togglerElements.forEach((el) => (el.style.display = ""));
9595
if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler);
@@ -98,14 +98,15 @@ const Documentation = {
9898
initOnKeyListeners: () => {
9999
// only install a listener if it is really needed
100100
if (
101-
!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS &&
102-
!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS
101+
!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS
102+
&& !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS
103103
)
104104
return;
105105

106106
document.addEventListener("keydown", (event) => {
107107
// bail for input elements
108-
if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return;
108+
if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName))
109+
return;
109110
// bail with special keys
110111
if (event.altKey || event.ctrlKey || event.metaKey) return;
111112

docs/_static/language_data.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
/*
22
* This script contains the language-specific data used by searchtools.js,
3-
* namely the list of stopwords, stemmer, scorer and splitter.
3+
* namely the set of stopwords, stemmer, scorer and splitter.
44
*/
55

6-
var stopwords = [];
6+
const stopwords = new Set([]);
7+
window.stopwords = stopwords; // Export to global scope
78

89

9-
/* Non-minified version is copied as a separate JS file, if available */
10+
/* Non-minified versions are copied as separate JavaScript files, if available */
1011

1112
/**
1213
* Dummy stemmer for languages without stemming rules.
1314
*/
14-
var Stemmer = function() {
15-
this.stemWord = function(w) {
15+
var Stemmer = function () {
16+
this.stemWord = function (w) {
1617
return w;
17-
}
18-
}
18+
};
19+
};
1920

0 commit comments

Comments
 (0)