File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ import fs from "fs";
99import { exampleAutoAnchorPreprocessor } from "./theme/anchor/exampleAutoAnchorPreprocessor" ;
1010
1111const defaultLocale : string = 'en' ;
12- const supportLocales : string [ ] = [ defaultLocale , 'zhHans' ] ;
12+ const supportLocales : string [ ] = [
13+ defaultLocale ,
14+ // 'zhHans'
15+ ] ;
1316const editLinkPattern = `${ repository . url } /edit/master/docs/:path` ;
1417
1518const 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} ;
You can’t perform that action at this time.
0 commit comments