File tree Expand file tree Collapse file tree 1 file changed +23
-12
lines changed
Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const config = {
3131 // to replace "en" with "zh-Hans".
3232 i18n : {
3333 defaultLocale : 'zh-Hans' ,
34- locales : [ 'zh-Hans' , 'en' ] ,
34+ locales : [ 'zh-Hans' ] ,
3535 } ,
3636
3737 presets : [
@@ -72,6 +72,27 @@ const config = {
7272 position : 'left' ,
7373 label : '开始' ,
7474 } ,
75+ {
76+ type : 'docSidebar' ,
77+ sidebarId : 'tutorialSidebar' ,
78+ position : 'left' ,
79+ label : '历史' ,
80+ docsPluginId : 'history'
81+ } ,
82+ {
83+ type : 'docSidebar' ,
84+ sidebarId : 'tutorialSidebar' ,
85+ position : 'left' ,
86+ label : '管理人员' ,
87+ docsPluginId : 'admin'
88+ } ,
89+ {
90+ type : 'docSidebar' ,
91+ sidebarId : 'tutorialSidebar' ,
92+ position : 'left' ,
93+ label : '日志' ,
94+ docsPluginId : 'logs'
95+ } ,
7596 // 搜索框
7697 {
7798 type : 'search' ,
@@ -172,17 +193,7 @@ const config = {
172193 ] ,
173194 ] ,
174195 themes : [
175- [
176- require . resolve ( "@easyops-cn/docusaurus-search-local" ) ,
177- {
178- hashed : true ,
179- language : [ "en" , "zh" ] ,
180- highlightSearchTermsOnTargetPage : true ,
181- explicitSearchResultPath : true ,
182- indexBlog : false ,
183- docsRouteBasePath : "/"
184- } ,
185- ] ,
196+
186197 ] ,
187198} ;
188199
You can’t perform that action at this time.
0 commit comments