Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const config: Config = {
url,
// Set the /<baseUrl>/ pathname under which your site is served
baseUrl,
// Remove trailing slashes - GitHub Pages handles this fine and makes relative paths intuitive
trailingSlash: false,

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