Skip to content

Commit 6370243

Browse files
wang1212claude
andcommitted
fix: set docs routeBasePath to '/' to avoid broken links with baseUrl /docs/
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 9c30039 commit 6370243

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docusaurus.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const config: Config = {
3838
'classic',
3939
{
4040
docs: {
41+
routeBasePath: '/',
4142
sidebarPath: './sidebars.ts',
4243
editUrl: 'https://github.com/weavefox/docs/tree/main/docs/',
4344
},
@@ -95,7 +96,7 @@ const config: Config = {
9596
items: [
9697
{
9798
label: 'Tutorial',
98-
to: '/docs/intro',
99+
to: '/intro',
99100
},
100101
],
101102
},

0 commit comments

Comments
 (0)