Skip to content

Commit

Permalink
docs: add docs for previous versions (#5689)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
  • Loading branch information
antfu and sheremet-va committed May 11, 2024
1 parent e1be4b5 commit 9cbc44d
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,21 @@ export default ({ mode }: { mode: string }) => {
text: 'Discord Chat',
link: discord,
},
],
},
],
},
{
text: `v${version}`,
items: [
{
items: [
{
text: `v${version}`,
link: `https://github.com/vitest-dev/vitest/releases/tag/v${version}`,
},
{
text: 'Releases ',
text: 'Releases Notes',
link: releases,
},
{
Expand All @@ -131,12 +144,16 @@ export default ({ mode }: { mode: string }) => {
},
],
},
{
items: [
{
text: 'v0.x',
link: 'https://v0.vitest.dev/',
},
],
},
],
},
{
text: `v${version}`,
link: `https://github.com/vitest-dev/vitest/releases/tag/v${version}`,
},
],

sidebar: {
Expand Down

0 comments on commit 9cbc44d

Please sign in to comment.