v0.3.1
Bug Fixes
- #31 — Doubled
docs/docs/paths whenrouteBasePath: '/'and docs live in a nesteddocs/subdirectory - #30 —
trailingSlash: truenot 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:
pathTransformationis 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!