Have you read the Contributing Guidelines on issues?
Prerequisites
Description
In e.g. /docs/module/ there could be an index.md and a module.mdx file. The module.mdx is served as root of the folder, and the index is unreachable, although it appears as 'next' link at the bottom of the module/ path. Clicking it stays on the same page though.
Reproducible demo
No response
Steps to reproduce
- Create /doc/demo folder and in there:
- Create a file index.md with a title like # Hello Index
- Create a file demo.mdx with a title like # Hello Demo
- Yarn start
- Navigate to /docs/demo
- Try to view both pages
Expected behavior
I expect there is a precedence, where index.md(x) is used as index and the demo.mdx is just a doc.
Actual behavior
/docs/demo will show you the content of demo.mdx, the content of index.mdx is ignored. Although the next-link shows index, you can't view it if you click it. It stays on the same page.
Your environment
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
In e.g. /docs/module/ there could be an index.md and a module.mdx file. The module.mdx is served as root of the folder, and the index is unreachable, although it appears as 'next' link at the bottom of the module/ path. Clicking it stays on the same page though.
Reproducible demo
No response
Steps to reproduce
Expected behavior
I expect there is a precedence, where index.md(x) is used as index and the demo.mdx is just a doc.
Actual behavior
/docs/demo will show you the content of demo.mdx, the content of index.mdx is ignored. Although the next-link shows index, you can't view it if you click it. It stays on the same page.
Your environment
Self-service