Skip to content

v0.3.1

Choose a tag to compare

@rachfop rachfop released this 14 Apr 16:10
· 11 commits to main since this release

Bug Fixes

  • #31 — Doubled docs/docs/ paths when routeBasePath: '/' and docs live in a nested docs/ subdirectory
  • #30trailingSlash: true not reflected in generated URLs

What Changed

Replaced the routeMap construction approach with suffix-based matching against Docusaurus's own routesPaths. This removes ~150 lines of production code (five edge-case helper functions) and makes URL resolution simpler and more correct across all common Docusaurus configurations.

Note: pathTransformation is now only applied as a fallback when a file cannot be matched to a known Docusaurus route. In most configurations, you no longer need it.

Thanks to @scottamain for the fix!