Skip to content

Commit 5a06f4b

Browse files
authored
* feat: 多个目录 * fix: 空连接 * style: test * fix: 无法构建 * fix: 无法构建 * fix: 无法构建 * fix: 无法构建 * fix: 顶部不显示 * feat: 主城命令和机制列表.md 管理用到的指令.md * fix: 无法编译 * fix: 搜索框 不显示作者 * Update docusaurus.config.js * Update docusaurus.config.js
2 parents 73d8353 + 4c8ca7c commit 5a06f4b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docusaurus.config.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ const config = {
4242
docs: {
4343
sidebarPath: require.resolve('./sidebars.js'),
4444
routeBasePath: '/',
45+
editCurrentVersion: true,
46+
showLastUpdateAuthor: true,
47+
showLastUpdateTime: true,
4548
editUrl:
4649
'https://github.com/redstarmc/Wiki/blob/main'
4750
},
@@ -66,6 +69,11 @@ const config = {
6669
},
6770
hideOnScroll: false,
6871
items: [
72+
// 搜索框
73+
{
74+
type: 'search',
75+
position: 'right',
76+
},
6977
{
7078
type: 'doc',
7179
docId: 'intro',
@@ -93,11 +101,6 @@ const config = {
93101
label: '日志',
94102
docsPluginId: 'logs'
95103
},
96-
// 搜索框
97-
{
98-
type: 'search',
99-
position: 'right',
100-
},
101104
{
102105
href: 'https://github.com/redstarmc/Wiki',
103106
label: 'GitHub',

0 commit comments

Comments
 (0)