Skip to content

Commit b91d828

Browse files
authored
Update docusaurus.config.js
1 parent d81698e commit b91d828

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/docusaurus.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const config = {
4848
({
4949
docs: {
5050
sidebarPath: './sidebars.js',
51-
routeBasePath: '/', // 关键修改:让文档在 /docs/ 的根路径
51+
routeBasePath: '/',
5252
// Please change this to your repo.
5353
// Remove this to remove the "edit this page" links.
5454
editUrl:
@@ -67,7 +67,7 @@ const config = {
6767
// Useful options to enforce blogging best practices
6868
onInlineTags: 'warn',
6969
onInlineAuthors: 'ignore',
70-
onUntruncatedBlogPosts: 'ignore', // 修改:忽略截断警告
70+
onUntruncatedBlogPosts: 'ignore',
7171
},
7272
theme: {
7373
customCss: './src/css/custom.css',
@@ -110,7 +110,7 @@ const config = {
110110
items: [
111111
{
112112
label: 'Tutorial',
113-
to: '/intro', // 修改:去掉 /docs 前缀
113+
to: '/intro',
114114
},
115115
],
116116
},
@@ -127,15 +127,15 @@ const config = {
127127
},
128128
{
129129
label: 'X',
130-
href: 'https://x.com/docusaurus',
130+
href: 'https://x.com/secondstateinc',
131131
},
132132
],
133133
},
134134
{
135135
title: 'More',
136136
items: [
137137
{
138-
label: 'Blog',
138+
label: 'Build in Public',
139139
to: '/blog',
140140
},
141141
{

0 commit comments

Comments
 (0)