Skip to content

Commit 393d985

Browse files
committed
feat: remove zhHans for now
1 parent 7183153 commit 393d985

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

docs/.vitepress/config.mts

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import fs from "fs";
99
import {exampleAutoAnchorPreprocessor} from "./theme/anchor/exampleAutoAnchorPreprocessor";
1010

1111
const defaultLocale: string = 'en';
12-
const supportLocales: string[] = [defaultLocale, 'zhHans'];
12+
const supportLocales: string[] = [
13+
defaultLocale,
14+
// 'zhHans'
15+
];
1316
const editLinkPattern = `${repository.url}/edit/master/docs/:path`;
1417

1518
const commonSidebarOptions: VitePressSidebarOptions = {
@@ -115,22 +118,13 @@ const vitePressI18nOptions: VitePressI18nOptions = {
115118
},
116119
nav: [
117120
{
121+
text: 'Home',
122+
link: '/'
123+
}, {
118124
text: 'Introduction',
119125
link: '/intro'
120126
},
121127
]
122-
},
123-
zhHans: {
124-
outline: {
125-
level: "2-3",
126-
label: "在本页"
127-
},
128-
nav: [
129-
{
130-
text: '介绍',
131-
link: '/zhHans/intro'
132-
},
133-
]
134128
}
135129
}
136130
};

0 commit comments

Comments
 (0)