Skip to content

Commit 589c6c7

Browse files
committed
deploy: bb8edb6
1 parent 874c3e3 commit 589c6c7

13 files changed

Lines changed: 1725 additions & 298 deletions

_static/base-stemmer.js

Lines changed: 476 additions & 0 deletions
Large diffs are not rendered by default.

_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

0 commit comments

Comments
 (0)