From 5c634df87629ea174b60ecce0de2e52e56296070 Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Tue, 8 Oct 2024 08:19:42 -0700 Subject: [PATCH] sidebar: add MSET9/ntrboot subpages to multiple-options It turns out nested sidebar items like this actually work, so make full use of it where it makes sense. --- docs/.vitepress/i18n/en_US.js | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/i18n/en_US.js b/docs/.vitepress/i18n/en_US.js index b5d3c2aaf2..541358113e 100644 --- a/docs/.vitepress/i18n/en_US.js +++ b/docs/.vitepress/i18n/en_US.js @@ -40,7 +40,15 @@ const themeConfig = { { text: localeData.pages["key-information"], link: `/key-information` }, { text: localeData.pages["get-started"], link: `/get-started` }, { text: localeData.pages["ntrboot"], link: `/ntrboot` }, - { text: localeData.pages["multiple-options"] }, + { + text: localeData.pages["multiple-options"], + items: [ + { text: localeData.pages["flashing-ntrboot-(3ds-single-system)"], link: `/flashing-ntrboot-(3ds-single-system)` }, + { text: localeData.pages["flashing-ntrboot-(3ds-multi-system)"], link: `/flashing-ntrboot-(3ds-multi-system)` }, + { text: localeData.pages["flashing-ntrboot-(dsi)"], link: `/flashing-ntrboot-(dsi)` }, + { text: localeData.pages["flashing-ntrboot-(nds)"], link: `/flashing-ntrboot-(nds)` }, + ] + }, { text: localeData.pages["installing-boot9strap-(ntrboot)"], link: `/installing-boot9strap-(ntrboot)` }, { text: localeData.pages["finalizing-setup"], link: `/finalizing-setup` } ] @@ -110,7 +118,15 @@ const themeConfig = { { text: localeData.pages["key-information"], link: `/key-information` }, { text: localeData.pages["get-started"], link: `/get-started` }, { text: localeData.pages["ntrboot"], link: `/ntrboot` }, - { text: localeData.pages["multiple-options"] }, + { + text: localeData.pages["multiple-options"], + items: [ + { text: localeData.pages["flashing-ntrboot-(3ds-single-system)"], link: `/flashing-ntrboot-(3ds-single-system)` }, + { text: localeData.pages["flashing-ntrboot-(3ds-multi-system)"], link: `/flashing-ntrboot-(3ds-multi-system)` }, + { text: localeData.pages["flashing-ntrboot-(dsi)"], link: `/flashing-ntrboot-(dsi)` }, + { text: localeData.pages["flashing-ntrboot-(nds)"], link: `/flashing-ntrboot-(nds)` }, + ] + }, { text: localeData.pages["installing-boot9strap-(ntrboot)"], link: `/installing-boot9strap-(ntrboot)` }, { text: localeData.pages["finalizing-setup"], link: `/finalizing-setup` } ] @@ -136,7 +152,13 @@ const themeConfig = { { text: localeData.pages["key-information"], link: `/key-information` }, { text: localeData.pages["get-started"], link: `/get-started` }, { text: localeData.pages["installing-boot9strap-(mset9)"], link: `/installing-boot9strap-(mset9)` }, - { text: localeData.pages["multiple-options"] }, + { + text: localeData.pages["multiple-options"], + items: [ + { text: localeData.pages["installing-boot9strap-(mset9-cli)"], link: `/installing-boot9strap-(mset9-cli)` }, + { text: localeData.pages["installing-boot9strap-(mset9-play-store)"], link: `/installing-boot9strap-(mset9-play-store)` } + ] + }, { text: localeData.pages["finalizing-setup"], link: `/finalizing-setup` } ] },