Skip to content

Commit 4c8ca7c

Browse files
authored
Update docusaurus.config.js
1 parent 2189779 commit 4c8ca7c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docusaurus.config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,38 +69,38 @@ const config = {
6969
},
7070
hideOnScroll: false,
7171
items: [
72+
// 搜索框
73+
{
74+
type: 'search',
75+
position: 'right',
76+
},
7277
{
7378
type: 'doc',
7479
docId: 'intro',
7580
position: 'left',
7681
label: '开始',
7782
},
7883
{
79-
type: 'doc',
84+
type: 'docSidebar',
8085
sidebarId: 'tutorialSidebar',
8186
position: 'left',
8287
label: '历史',
8388
docsPluginId: 'history'
8489
},
8590
{
86-
type: 'doc',
91+
type: 'docSidebar',
8792
sidebarId: 'tutorialSidebar',
8893
position: 'left',
8994
label: '管理人员',
9095
docsPluginId: 'admin'
9196
},
9297
{
93-
type: 'doc',
98+
type: 'docSidebar',
9499
sidebarId: 'tutorialSidebar',
95100
position: 'left',
96101
label: '日志',
97102
docsPluginId: 'logs'
98103
},
99-
// 搜索框
100-
{
101-
type: 'search',
102-
position: 'right',
103-
},
104104
{
105105
href: 'https://github.com/redstarmc/Wiki',
106106
label: 'GitHub',

0 commit comments

Comments
 (0)