File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -7,21 +7,12 @@ const sidebarItems = getChapterItems(1, 2);
77
88// https://vitepress.dev/reference/site-config
99export default defineConfig ( {
10+ lang : "zh" ,
1011 title : "灵矽文档中心" ,
1112 description : "A 灵矽 Documentation Project" ,
1213 lastUpdated : true ,
1314 cleanUrls : true ,
1415 base : "/Xrobot-docs/" ,
15- locales : {
16- root : {
17- label : "简体中文" ,
18- lang : "cn" ,
19- } ,
20- // en: {
21- // label: "English",
22- // lang: "en",
23- // },
24- } ,
2516 themeConfig : {
2617 // https://vitepress.dev/reference/default-theme-config
2718 outline : [ 2 , 4 ] ,
@@ -42,26 +33,6 @@ export default defineConfig({
4233 ] ,
4334 search : {
4435 provider : 'local' ,
45- options : {
46- locales : {
47- zh : {
48- translations : {
49- button : {
50- buttonText : '搜索文档' ,
51- buttonAriaLabel : '搜索文档'
52- } ,
53- modal : {
54- noResultsText : '无法找到相关结果' ,
55- resetButtonTitle : '清除查询条件' ,
56- footer : {
57- selectText : '选择' ,
58- navigateText : '切换'
59- }
60- }
61- }
62- }
63- }
64- }
6536 }
6637 } ,
6738 markdown : {
You can’t perform that action at this time.
0 commit comments