From faa489753f23cac02716183b75bf7b6b067c575a Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Mon, 7 Oct 2024 04:15:12 -0700 Subject: [PATCH] navbar/sidebar cleanup (#192) --- docs/.vitepress/i18n/en_US.js | 93 +++++++++++--------------------- docs/installing-enso-(3.60).md | 4 ++ docs/installing-enso.md | 4 ++ docs/installing-henkaku.md | 4 ++ docs/updating-firmware-(3.74).md | 4 ++ docs/using-henlo.md | 4 ++ 6 files changed, 51 insertions(+), 62 deletions(-) diff --git a/docs/.vitepress/i18n/en_US.js b/docs/.vitepress/i18n/en_US.js index 2ff6f968a..841b78a2a 100644 --- a/docs/.vitepress/i18n/en_US.js +++ b/docs/.vitepress/i18n/en_US.js @@ -1,3 +1,22 @@ +const sidebar_guide_henkaku = { + text: 'Guide', + items: [ + { text: 'Get Started', link: '/get-started' }, + { text: 'Installing HENkaku', link: '/installing-henkaku' }, + { text: 'Installing Ensō (3.60)', link: '/installing-enso-(3.60)' }, + { text: 'Finalizing Setup (3.60)', link: '/finalizing-setup-(3.60)' } + ], +} + +const sidebar_guide_henlo = { + text: 'Guide', + items: [ + { text: 'Get Started', link: '/get-started' }, + { text: 'Installing HENkaku', link: '/installing-henkaku' }, + { text: 'Installing Ensō (3.60)', link: '/installing-enso-(3.60)' }, + { text: 'Finalizing Setup (3.60)', link: '/finalizing-setup-(3.60)' } + ], +} const themeConfig = { search: 'Search', selectLanguageName: "English", @@ -16,96 +35,46 @@ const themeConfig = { { text: 'Guides', items: [ - { text: 'Adrenaline', link: 'adrenaline' }, + { text: 'Adrenaline', link: '/adrenaline' }, { text: 'SD2Vita', - link: 'yamt' + link: '/yamt' }, { text: 'Uninstalling CFW', - link: 'uninstalling-cfw' + link: '/uninstalling-cfw' }, ] }, { text: 'Help', items: [ - { text: 'Troubleshooting', link: 'troubleshooting' }, - { text: 'FAQ', link: 'faq' }, - { - text: 'Discord', - link: 'https://discord.gg/m7MwpKA' - }, + { text: 'Troubleshooting', link: '/troubleshooting' }, + { text: 'FAQ', link: '/faq' } ] }, { text: 'Site Info', items: [ - { text: 'Donations', link: 'donations' }, - { text: 'Credits', link: 'credits' }, - { text: 'Site Navigation', link: 'site-navigation' } + { text: 'Donations', link: '/donations' }, + { text: 'Credits', link: '/credits' }, + { text: 'Site Navigation', link: '/site-navigation' } ] }, ], sidebar: { '/installing-henkaku': [ - { - text: 'Guide', - items: [ - { text: 'Home', link: 'index.html' }, - { text: 'Get Started', link: 'get-started' }, - { text: 'Installing HENkaku', link: 'installing-henkaku' }, - { text: 'Installing Ensō (3.60)', link: 'installing-enso-(3.60)' }, - { text: 'Finalizing Setup (3.60)', link: 'finalizing-setup-(3.60)' } - ], - }, + sidebar_guide_henkaku ], '/installing-enso-(3.60)': [ - { - text: 'Guide', - items: [ - { text: 'Home', link: 'index.html' }, - { text: 'Get Started', link: 'get-started' }, - { text: 'Installing HENkaku', link: 'installing-henkaku' }, - { text: 'Installing Ensō (3.60)', link: 'installing-enso-(3.60)' }, - { text: 'Finalizing Setup (3.60)', link: 'finalizing-setup-(3.60)' } - ], - }, + sidebar_guide_henkaku ], '/finalizing-setup-(3.60)': [ - { - text: 'Guide', - items: [ - { text: 'Home', link: 'index.html' }, - { text: 'Get Started', link: 'get-started' }, - { text: 'Installing HENkaku', link: 'installing-henkaku' }, - { text: 'Installing Ensō (3.60)', link: 'installing-enso-(3.60)' }, - { text: 'Finalizing Setup (3.60)', link: 'finalizing-setup-(3.60)' } - ], - }, - ], - '/updating-firmware-(3.74)': [ - { - text: 'Guide', - items: [ - { text: 'Updating Firmware (3.74)', link: 'updating-firmware-(3.74)' }, - { text: 'Using HENlo', link:'using-henlo' }, - { text: 'Installing Ensō', link: 'installing-enso' }, - { text: 'Finalizing Setup', link: 'finalizing-setup' } - ], - }, + sidebar_guide_henkaku ], '/': [ - { - text: 'Guide', - items: [ - { text: 'Updating Firmware (3.74)', link: 'updating-firmware-(3.74)' }, - { text: 'Using HENlo', link:'using-henlo' }, - { text: 'Installing Ensō', link: 'installing-enso' }, - { text: 'Finalizing Setup', link: 'finalizing-setup' } - ], - }, + sidebar_guide_henlo ], }, }; diff --git a/docs/installing-enso-(3.60).md b/docs/installing-enso-(3.60).md index dee9fd2ea..4ec53ce64 100644 --- a/docs/installing-enso-(3.60).md +++ b/docs/installing-enso-(3.60).md @@ -1,3 +1,7 @@ +--- +next: true +--- + # Installing Ensō (3.60) ### Required Reading diff --git a/docs/installing-enso.md b/docs/installing-enso.md index 7cbbd5079..ae546f9a4 100644 --- a/docs/installing-enso.md +++ b/docs/installing-enso.md @@ -1,3 +1,7 @@ +--- +next: true +--- + # Installing Ensō ### Required Reading diff --git a/docs/installing-henkaku.md b/docs/installing-henkaku.md index 48cbbc4c1..cf4f7bd1a 100644 --- a/docs/installing-henkaku.md +++ b/docs/installing-henkaku.md @@ -1,3 +1,7 @@ +--- +next: true +--- + # Installing HENkaku ### Required Reading diff --git a/docs/updating-firmware-(3.74).md b/docs/updating-firmware-(3.74).md index e20c0ff61..47650596a 100644 --- a/docs/updating-firmware-(3.74).md +++ b/docs/updating-firmware-(3.74).md @@ -1,3 +1,7 @@ +--- +next: true +--- + # Updating Firmware (3.74) ### Required Reading diff --git a/docs/using-henlo.md b/docs/using-henlo.md index 5f1d2f428..8969de187 100644 --- a/docs/using-henlo.md +++ b/docs/using-henlo.md @@ -1,3 +1,7 @@ +--- +next: true +--- + # Using HENlo ### Required Reading