Skip to content

Commit 38e358d

Browse files
committed
修改底部导航链接
1 parent ee31a94 commit 38e358d

File tree

1 file changed

+33
-9
lines changed

1 file changed

+33
-9
lines changed

docusaurus.config.ts

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const config: Config = {
108108
},
109109
// {to: '/blog', label: 'Blog', position: 'left'},
110110
{
111-
href: 'https://github.com/facebook/docusaurus',
111+
href: 'https://github.com/weihongyu12',
112112
label: 'GitHub',
113113
position: 'right',
114114
},
@@ -122,24 +122,44 @@ const config: Config = {
122122
items: [
123123
{
124124
label: 'Getting Started',
125-
to: '/docs/getting-started',
125+
to: '/docs/getting-started/',
126+
},
127+
{
128+
label: '规范',
129+
to: '/docs/specification/code/',
130+
},
131+
{
132+
label: '代码规则',
133+
to: '/docs/specification/rule/',
126134
},
127135
],
128136
},
129137
{
130-
title: 'Community',
138+
title: 'Reference',
131139
items: [
132140
{
133-
label: 'Stack Overflow',
134-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
141+
label: '性能优化',
142+
to: '/docs/reference/performance/',
143+
},
144+
{
145+
label: '安全',
146+
to: '/docs/reference/security/',
135147
},
136148
{
137-
label: 'Discord',
138-
href: 'https://discordapp.com/invite/docusaurus',
149+
label: 'SEO',
150+
to: '/docs/reference/seo/',
139151
},
140152
{
141-
label: 'Twitter',
142-
href: 'https://twitter.com/docusaurus',
153+
label: '配置参考',
154+
to: '/docs/reference/configuration/',
155+
},
156+
{
157+
label: '流水线',
158+
to: '/docs/pipeline/branch-commit/',
159+
},
160+
{
161+
label: '功能设计',
162+
to: '/docs/features/',
143163
},
144164
],
145165
},
@@ -154,6 +174,10 @@ const config: Config = {
154174
label: 'GitHub',
155175
href: 'https://github.com/weihongyu12',
156176
},
177+
{
178+
label: 'Donation 捐赠',
179+
to: '/docs/support',
180+
},
157181
],
158182
},
159183
],

0 commit comments

Comments
 (0)