Skip to content

Commit

Permalink
docs: add link to v3 docs (#11196)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Dec 5, 2022
1 parent 4ec9f53 commit 074b63e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,24 @@ 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',
},
]
case 'release':
return [
{
text: 'Vite 3 Docs',
link: 'https://v3.vitejs.dev',
},
{
text: 'Vite 2 Docs',
link: 'https://v2.vitejs.dev',
Expand Down

0 comments on commit 074b63e

Please sign in to comment.