Skip to content

Commit b1359b3

Browse files
committed
fix(docs): set routeBasePath to / to avoid /docs/docs/ doubling
With baseUrl=/docs/ the docs plugin default routeBasePath=docs produces /docs/docs/... paths. Setting routeBasePath=/ puts pages directly under /docs/ as intended. Made-with: Cursor
1 parent 7f588c1 commit b1359b3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs-site/docusaurus.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const config: Config = {
3535
'classic',
3636
{
3737
docs: {
38+
routeBasePath: '/',
3839
sidebarPath: './sidebars.ts',
3940
editUrl: 'https://github.com/flexfoil/flexfoil/tree/main/docs-site/',
4041
},
@@ -82,7 +83,7 @@ const config: Config = {
8283
items: [
8384
{
8485
label: 'Architecture',
85-
to: '/docs/xfoil-architecture-spec',
86+
to: '/xfoil-architecture-spec',
8687
},
8788
],
8889
},

0 commit comments

Comments
 (0)