-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Description
🐛 Bug Report
Let's say you have a file Overview.mdx and reference it from another document.
[Overview](./Overview) <-- fails silenty at runtime (leads to 404)
[Overview](./Overview.md) <-- fails at build time correctly because there is an .md file not .mdx
[Overview](./Overview.mdx) <-- works greatHave you read the Contributing Guidelines on issues?
Sure
To Reproduce
Use base path in your docusaurus config- Create 2 files
- Reference one file from another without file extension
Expected behavior
That must be caught by the broken link handler.
(Write what you thought would happen.)
Actual Behavior
Links lead to 404 and I don't know about it until test it at runtime.
Your Environment
- Docusaurus version used: 2.0.0-alpha.62
Reproducible Demo
You can use docusaurus repo and reproduce locally.
Replace some relative link, for example here with a link without .md extension.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution