Have you read the Contributing Guidelines on issues?
Prerequisites
Description
I'm following the 5-minute tutorial and discovered that relative file paths are not converted to links (the file extension is not removed from the link, and hence results in 404)
Reproducible demo
https://codesandbox.io/p/sandbox/winter-pine-527qpc
Steps to reproduce
- create
docs/foo.md and docs/bar.md files
- Link to
bar.md from foo.md:
- Open foo page and click on the link
Expected behavior
bar page should open at .../docs/bar
Actual behavior
the url contains file extension, i.e. .../docs/bar.md
Your environment
- Public source code: n/a (I've just initialized a new project with docusaurus and following the tutorial)
- Public site URL: n/a
- Docusaurus version used: 3.2.2
- Environment name and version (e.g. Chrome 89, Node.js 16.4): node v18.16.1
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Ubuntu 22.04
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
I'm following the 5-minute tutorial and discovered that relative file paths are not converted to links (the file extension is not removed from the link, and hence results in 404)
Reproducible demo
https://codesandbox.io/p/sandbox/winter-pine-527qpc
Steps to reproduce
docs/foo.mdanddocs/bar.mdfilesbar.mdfromfoo.md:Expected behavior
bar page should open at
.../docs/barActual behavior
the url contains file extension, i.e.
.../docs/bar.mdYour environment
Self-service