Skip to content

Commit 6cc450b

Browse files
authored
Merge pull request #37 from pingguomc/main
feat: 尝试修复搜索框 删除日志栏 fix: 链接错误
2 parents 5a06f4b + 4c1ceb4 commit 6cc450b

File tree

4 files changed

+56
-12
lines changed

4 files changed

+56
-12
lines changed

admin/建筑师/_category_.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"position": 4,
3+
"link": {
4+
"type": "generated-index"
5+
}
6+
}

admin/建筑师/_images/tip.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
在这里放你的图片

admin/建筑师/commands.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# 可能会用到的指令
6+
7+
这里详细写出了建筑师过程中的指令的使用,仅包括主城服务器。
8+
9+
***
10+
11+
:::warning
12+
13+
建筑过程中不得进行破坏服务器等违反 《管理条例》 的操作。
14+
15+
:::
16+
17+
## CMI
18+
19+
TODO
20+
21+
## WorldEdit
22+

docusaurus.config.js

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ const config = {
6969
},
7070
hideOnScroll: false,
7171
items: [
72-
// 搜索框
73-
{
74-
type: 'search',
75-
position: 'right',
76-
},
7772
{
7873
type: 'doc',
7974
docId: 'intro',
@@ -94,12 +89,17 @@ const config = {
9489
label: '管理人员',
9590
docsPluginId: 'admin'
9691
},
92+
// {
93+
// type: 'docSidebar',
94+
// sidebarId: 'tutorialSidebar',
95+
// position: 'left',
96+
// label: '日志',
97+
// docsPluginId: 'logs'
98+
// },
99+
// 搜索框
97100
{
98-
type: 'docSidebar',
99-
sidebarId: 'tutorialSidebar',
100-
position: 'left',
101-
label: '日志',
102-
docsPluginId: 'logs'
101+
type: 'search',
102+
position: 'right',
103103
},
104104
{
105105
href: 'https://github.com/redstarmc/Wiki',
@@ -129,8 +129,16 @@ const config = {
129129
title: '交流',
130130
items: [
131131
{
132-
label: 'QQ群',
133-
href: 'https://qm.qq.com/q/DgLkRPwVua',
132+
label: '官网',
133+
href: 'https://www.redstarmc.top/'
134+
},
135+
{
136+
label: '外置登陆身份验证系统',
137+
href: 'https://login.redstarmc.top'
138+
},
139+
{
140+
label: 'QQ频道',
141+
href: 'https://pd.qq.com/s/1dxf9takj',
134142
},
135143
],
136144
},
@@ -158,6 +166,13 @@ const config = {
158166
},
159167
}),
160168
plugins: [
169+
[
170+
'@easyops-cn/docusaurus-search-local',
171+
{
172+
indexDocs: true,
173+
language: "zh",
174+
},
175+
],
161176
[
162177
'@docusaurus/plugin-content-docs',
163178
{

0 commit comments

Comments
 (0)