Skip to content

Commit 648ebbb

Browse files
authored
docs: add vite 6 docs to version dropdown (#2038)
* docs: add vite 6 docs to version dropdown * 行数を合わせる
1 parent 1105451 commit 648ebbb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.vitepress/config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import {
55
groupIconMdPlugin,
66
groupIconVitePlugin,
77
} from 'vitepress-plugin-group-icons'
8+
9+
810
import { buildEnd } from './buildEnd.config'
911

1012
const ogDescription = '次世代フロントエンドツール'
@@ -38,6 +40,10 @@ const additionalTitle = ((): string => {
3840
})()
3941
const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
4042
const oldVersions: DefaultTheme.NavItemWithLink[] = [
43+
{
44+
text: 'Vite 6 ドキュメント',
45+
link: 'https://v6.vite.dev',
46+
},
4147
{
4248
text: 'Vite 5 ドキュメント',
4349
link: 'https://v5.vite.dev',
@@ -61,7 +67,7 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
6167
case 'local':
6268
return [
6369
{
64-
text: 'Vite 6 ドキュメント(リリース)',
70+
text: 'Vite 7 ドキュメント(リリース)',
6571
link: 'https://vite.dev',
6672
},
6773
...oldVersions,

0 commit comments

Comments
 (0)