We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73d8353 + 4c8ca7c commit 5a06f4bCopy full SHA for 5a06f4b
docusaurus.config.js
@@ -42,6 +42,9 @@ const config = {
42
docs: {
43
sidebarPath: require.resolve('./sidebars.js'),
44
routeBasePath: '/',
45
+ editCurrentVersion: true,
46
+ showLastUpdateAuthor: true,
47
+ showLastUpdateTime: true,
48
editUrl:
49
'https://github.com/redstarmc/Wiki/blob/main'
50
},
@@ -66,6 +69,11 @@ const config = {
66
69
67
70
hideOnScroll: false,
68
71
items: [
72
+ // 搜索框
73
+ {
74
+ type: 'search',
75
+ position: 'right',
76
+ },
77
{
78
type: 'doc',
79
docId: 'intro',
@@ -93,11 +101,6 @@ const config = {
93
101
label: '日志',
94
102
docsPluginId: 'logs'
95
103
96
- // 搜索框
97
- {
98
- type: 'search',
99
- position: 'right',
100
- },
104
105
href: 'https://github.com/redstarmc/Wiki',
106
label: 'GitHub',
0 commit comments