From 074b63eaea36468a65c5bc4088b7c10349055a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Mon, 5 Dec 2022 20:53:43 +0900 Subject: [PATCH] docs: add link to v3 docs (#11196) --- docs/.vitepress/config.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 19dda3841c7031..8fc6321f12212e 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -35,9 +35,13 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => { case 'local': return [ { - text: 'Vite 3 Docs (release)', + text: 'Vite 4 Docs (release)', link: 'https://vitejs.dev', }, + { + text: 'Vite 3 Docs', + link: 'https://v3.vitejs.dev', + }, { text: 'Vite 2 Docs', link: 'https://v2.vitejs.dev', @@ -45,6 +49,10 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => { ] case 'release': return [ + { + text: 'Vite 3 Docs', + link: 'https://v3.vitejs.dev', + }, { text: 'Vite 2 Docs', link: 'https://v2.vitejs.dev',