From f5b4d198c42af25a69876f8afa3424c179b420e4 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Wed, 27 Nov 2024 13:06:00 +0900 Subject: [PATCH] docs: link correctly to vite 5/6 docs versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit resolve #1755 https://github.com/vitejs/vite/commit/8d5743660f30b7818f473a9f9b6596328aa00918 の反映です。 --- .vitepress/config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 694fa066..72cf9ad5 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -38,6 +38,10 @@ const additionalTitle = ((): string => { })() const versionLinks = ((): DefaultTheme.NavItemWithLink[] => { const oldVersions: DefaultTheme.NavItemWithLink[] = [ + { + text: 'Vite 5 ドキュメント', + link: 'https://v5.vite.dev', + }, { text: 'Vite 4 ドキュメント', link: 'https://v4.vite.dev', @@ -57,7 +61,7 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => { case 'local': return [ { - text: 'Vite 5 ドキュメント(リリース)', + text: 'Vite 6 ドキュメント(リリース)', link: 'https://vite.dev', }, ...oldVersions,