diff --git a/branch/stable-2/_static/js/versions.js b/branch/stable-2/_static/js/versions.js
index 818bc99..4958195 100644
--- a/branch/stable-2/_static/js/versions.js
+++ b/branch/stable-2/_static/js/versions.js
@@ -1,6 +1,6 @@
const themeFlyoutDisplay = "hidden";
-const themeVersionSelector = "True";
-const themeLanguageSelector = "True";
+const themeVersionSelector = true;
+const themeLanguageSelector = true;
if (themeFlyoutDisplay === "attached") {
function renderLanguages(config) {
@@ -8,10 +8,14 @@ if (themeFlyoutDisplay === "attached") {
return "";
}
+ // Insert the current language to the options on the selector
+ let languages = config.projects.translations.concat(config.projects.current);
+ languages = languages.sort((a, b) => a.language.name.localeCompare(b.language.name));
+
const languagesHTML = `
- Languages
- ${config.projects.translations
+ ${languages
.map(
(translation) => `
-
diff --git a/branch/stable-2/api_facts_module.html b/branch/stable-2/api_facts_module.html
index a60161d..9796a46 100644
--- a/branch/stable-2/api_facts_module.html
+++ b/branch/stable-2/api_facts_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.api_facts module – Collect facts from remote devices running MikroTik RouterOS using the API — Community.Routeros Collection documentation
diff --git a/branch/stable-2/api_find_and_modify_module.html b/branch/stable-2/api_find_and_modify_module.html
index 75d590c..930b64b 100644
--- a/branch/stable-2/api_find_and_modify_module.html
+++ b/branch/stable-2/api_find_and_modify_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.api_find_and_modify module – Find and modify information using the API — Community.Routeros Collection documentation
diff --git a/branch/stable-2/api_info_module.html b/branch/stable-2/api_info_module.html
index 2248f5c..990ca46 100644
--- a/branch/stable-2/api_info_module.html
+++ b/branch/stable-2/api_info_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.api_info module – Retrieve information from API — Community.Routeros Collection documentation
diff --git a/branch/stable-2/api_modify_module.html b/branch/stable-2/api_modify_module.html
index a174c5b..bc7a780 100644
--- a/branch/stable-2/api_modify_module.html
+++ b/branch/stable-2/api_modify_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.api_modify module – Modify data at paths with API — Community.Routeros Collection documentation
diff --git a/branch/stable-2/api_module.html b/branch/stable-2/api_module.html
index e308dc1..1a21650 100644
--- a/branch/stable-2/api_module.html
+++ b/branch/stable-2/api_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.api module – Ansible module for RouterOS API — Community.Routeros Collection documentation
diff --git a/branch/stable-2/command_module.html b/branch/stable-2/command_module.html
index 500316d..eefc4bd 100644
--- a/branch/stable-2/command_module.html
+++ b/branch/stable-2/command_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.command module – Run commands on remote devices running MikroTik RouterOS — Community.Routeros Collection documentation
diff --git a/branch/stable-2/environment_variables.html b/branch/stable-2/environment_variables.html
index 8e4af01..f37dead 100644
--- a/branch/stable-2/environment_variables.html
+++ b/branch/stable-2/environment_variables.html
@@ -4,7 +4,7 @@
-
+
Index of all Collection Environment Variables — Community.Routeros Collection documentation
diff --git a/branch/stable-2/facts_module.html b/branch/stable-2/facts_module.html
index da9e30e..0dab623 100644
--- a/branch/stable-2/facts_module.html
+++ b/branch/stable-2/facts_module.html
@@ -4,7 +4,7 @@
-
+
community.routeros.facts module – Collect facts from remote devices running MikroTik RouterOS — Community.Routeros Collection documentation
diff --git a/branch/stable-2/index.html b/branch/stable-2/index.html
index f049ea6..5daf19d 100644
--- a/branch/stable-2/index.html
+++ b/branch/stable-2/index.html
@@ -4,7 +4,7 @@
-
+
Community.Routeros — Community.Routeros Collection documentation
diff --git a/branch/stable-2/join_filter.html b/branch/stable-2/join_filter.html
index 4ee0b8d..13ff967 100644
--- a/branch/stable-2/join_filter.html
+++ b/branch/stable-2/join_filter.html
@@ -4,7 +4,7 @@
-
+
community.routeros.join filter – Join a list of arguments to a command — Community.Routeros Collection documentation
diff --git a/branch/stable-2/list_to_dict_filter.html b/branch/stable-2/list_to_dict_filter.html
index e504625..9c814d1 100644
--- a/branch/stable-2/list_to_dict_filter.html
+++ b/branch/stable-2/list_to_dict_filter.html
@@ -4,7 +4,7 @@
-
+
community.routeros.list_to_dict filter – Convert a list of arguments to a dictionary — Community.Routeros Collection documentation
diff --git a/branch/stable-2/quote_argument_filter.html b/branch/stable-2/quote_argument_filter.html
index a562604..0910591 100644
--- a/branch/stable-2/quote_argument_filter.html
+++ b/branch/stable-2/quote_argument_filter.html
@@ -4,7 +4,7 @@
-
+
community.routeros.quote_argument filter – Quote an argument — Community.Routeros Collection documentation
diff --git a/branch/stable-2/quote_argument_value_filter.html b/branch/stable-2/quote_argument_value_filter.html
index 0ba4c05..dcd784a 100644
--- a/branch/stable-2/quote_argument_value_filter.html
+++ b/branch/stable-2/quote_argument_value_filter.html
@@ -4,7 +4,7 @@
-
+
community.routeros.quote_argument_value filter – Quote an argument value — Community.Routeros Collection documentation
diff --git a/branch/stable-2/routeros_cliconf.html b/branch/stable-2/routeros_cliconf.html
index 1cdf350..4d84a45 100644
--- a/branch/stable-2/routeros_cliconf.html
+++ b/branch/stable-2/routeros_cliconf.html
@@ -4,7 +4,7 @@
-
+
community.routeros.routeros cliconf – Use routeros cliconf to run command on MikroTik RouterOS platform — Community.Routeros Collection documentation
diff --git a/branch/stable-2/split_filter.html b/branch/stable-2/split_filter.html
index deb725a..7bb2b0a 100644
--- a/branch/stable-2/split_filter.html
+++ b/branch/stable-2/split_filter.html
@@ -4,7 +4,7 @@
-
+
community.routeros.split filter – Split a command into arguments — Community.Routeros Collection documentation