Skip to content

Commit be95383

Browse files
committed
don't build md pages as folders. keep relative paths intuitive and not broken
1 parent 42652e0 commit be95383

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docusaurus.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ const config: Config = {
4545
url,
4646
// Set the /<baseUrl>/ pathname under which your site is served
4747
baseUrl,
48+
// Remove trailing slashes - GitHub Pages handles this fine and makes relative paths intuitive
49+
trailingSlash: false,
4850

4951
// Serve images from the repository root or from env var path
5052
staticDirectories: process.env.IMAGES_PATH ? ['static', process.env.IMAGES_PATH] : ['static', '../images'],

0 commit comments

Comments
 (0)