docusaurus/packages/docusaurus
Sébastien Lorber df8a900f9c
feat(v2): add trailingSlash config option (#4908)
* POC: add trailingSlash option

* integrate the preferFoldersOutput option of fork @slorber/static-site-generator-webpack-plugin

* Fix broken links when using trailing slash => using md links is more reliable

* fix TS issue

* minor polish

* fix doc page being sensitive to trailing slashes

* Add tests for applyTrailingSlash

* rename test files

* extract and test applyRouteTrailingSlash

* update snapshot

* add trailing slash config to serve command

* fix getSidebar() => still sensitive to trailing slash setting

* never apply trailing slash to an anchor link

* Add documentation for trailingSlash setting
2021-06-09 19:59:39 +02:00
..
bin refactor(v2): add exception handling if external command is fails (#4870) 2021-06-03 15:15:59 +02:00
src feat(v2): add trailingSlash config option (#4908) 2021-06-09 19:59:39 +02:00
.npmignore
copyUntypedFiles.js
package.json feat(v2): add trailingSlash config option (#4908) 2021-06-09 19:59:39 +02:00
README.md docs(v1): version page should recommend v2 (bis) (#4049) 2021-01-14 17:58:42 +01:00
tsconfig.client.json chore: json files should be linted (#4462) 2021-03-18 19:39:50 +01:00
tsconfig.json refactor(v2): correct some of type errors reported by eslint (#4382) 2021-03-12 12:24:22 +01:00