Skip to content

Commit cbe5e58

Browse files
committed
deploy: 8c346b3
1 parent a740cc5 commit cbe5e58

34 files changed

+7
-1909
lines changed

Diff for: _static/js/versions.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
const themeFlyoutDisplay = "hidden";
2-
const themeVersionSelector = "True";
3-
const themeLanguageSelector = "True";
2+
const themeVersionSelector = true;
3+
const themeLanguageSelector = true;
44

55
if (themeFlyoutDisplay === "attached") {
66
function renderLanguages(config) {
77
if (!config.projects.translations.length) {
88
return "";
99
}
1010

11+
// Insert the current language to the options on the selector
12+
let languages = config.projects.translations.concat(config.projects.current);
13+
languages = languages.sort((a, b) => a.language.name.localeCompare(b.language.name));
14+
1115
const languagesHTML = `
1216
<dl>
1317
<dt>Languages</dt>
14-
${config.projects.translations
18+
${languages
1519
.map(
1620
(translation) => `
1721
<dd ${translation.slug == config.projects.current.slug ? 'class="rtd-current-item"' : ""}>

Diff for: kiwi-nlp/.nojekyll

-1
This file was deleted.

Diff for: kiwi-nlp/assets/highlight.css

-78
This file was deleted.

Diff for: kiwi-nlp/assets/icons.js

-18
This file was deleted.

0 commit comments

Comments
 (0)