Skip to content

Commit bbd2dce

Browse files
author
54895y
committed
feat: restyle wiki as product brief site
1 parent 0ab929d commit bbd2dce

File tree

4 files changed

+493
-298
lines changed

4 files changed

+493
-298
lines changed

docusaurus.config.ts

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import type {Config} from '@docusaurus/types';
33
import type * as Preset from '@docusaurus/preset-classic';
44

55
const config: Config = {
6-
title: 'Matrix Wiki',
7-
tagline: '统一维护 Matrix 系列插件的部署、配置与使用文档',
6+
title: 'Matrix Product Docs',
7+
tagline: ' Matrix 系列插件文档整理成可交接、可执行的产品 Brief 与实现说明。',
88
favicon: 'img/logo.svg',
99
future: {
1010
v4: true,
@@ -39,11 +39,11 @@ const config: Config = {
3939
image: 'img/logo.svg',
4040
colorMode: {
4141
defaultMode: 'light',
42-
disableSwitch: false,
42+
disableSwitch: true,
4343
respectPrefersColorScheme: false,
4444
},
4545
navbar: {
46-
title: 'Matrix Wiki',
46+
title: 'Matrix Product Docs',
4747
logo: {
4848
alt: 'Matrix Wiki Logo',
4949
src: 'img/logo.svg',
@@ -53,49 +53,37 @@ const config: Config = {
5353
type: 'docSidebar',
5454
sidebarId: 'docsSidebar',
5555
position: 'left',
56-
label: '文档',
56+
label: 'Docs',
5757
},
58-
{to: '/docs/plugins', label: '插件列表', position: 'left'},
58+
{to: '/docs/plugins', label: 'Plugins', position: 'left'},
5959
{to: '/docs/matrixauth/overview', label: 'MatrixAuth', position: 'left'},
6060
{to: '/docs/matrixcook/overview', label: 'MatrixCook', position: 'left'},
6161
{to: '/docs/matrixshop', label: 'MatrixShop', position: 'left'},
6262
{
6363
href: 'https://github.com/54895y/54895y.github.io',
64-
label: 'Wiki GitHub',
64+
label: 'GitHub',
6565
position: 'right',
6666
},
6767
],
6868
},
6969
footer: {
70-
style: 'dark',
70+
style: 'light',
7171
links: [
7272
{
73-
title: '文档',
73+
title: 'Documentation',
7474
items: [
7575
{
76-
label: '插件列表',
76+
label: '插件索引',
7777
to: '/docs/plugins',
7878
},
7979
{
8080
label: '站点说明',
8181
to: '/docs/intro',
8282
},
83-
{
84-
label: 'MatrixAuth',
85-
to: '/docs/matrixauth/overview',
86-
},
87-
{
88-
label: 'MatrixCook',
89-
to: '/docs/matrixcook/overview',
90-
},
91-
{
92-
label: 'MatrixShop',
93-
to: '/docs/matrixshop',
94-
},
9583
],
9684
},
9785
{
98-
title: '插件',
86+
title: 'Projects',
9987
items: [
10088
{
10189
label: 'MatrixAuth',
@@ -112,16 +100,16 @@ const config: Config = {
112100
],
113101
},
114102
{
115-
title: '仓库',
103+
title: 'Repository',
116104
items: [
117105
{
118-
label: 'Wiki',
106+
label: '54895y.github.io',
119107
href: 'https://github.com/54895y/54895y.github.io',
120108
},
121109
],
122110
},
123111
{
124-
title: '入口',
112+
title: 'Quick Start',
125113
items: [
126114
{
127115
label: 'MatrixAuth 安装',
@@ -142,7 +130,7 @@ const config: Config = {
142130
},
143131
prism: {
144132
theme: prismThemes.github,
145-
darkTheme: prismThemes.dracula,
133+
darkTheme: prismThemes.github,
146134
},
147135
} satisfies Preset.ThemeConfig,
148136
};

0 commit comments

Comments
 (0)