When the file name is the same as the parent folder name, the generated url is missing the file name. #7725
Closed
6 of 7 tasks
Labels
closed: working as intended
This issue is intended behavior, there's no need to take any action.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Reproducible demo: https://codesandbox.io/s/busy-lake-7grh3p?file=/sidebars.js
For example a file like this
The expectation is to access it via /docs/storage/storage
But in fact docusaurus generates /docs/storage
Reproducible demo
https://codesandbox.io/s/busy-lake-7grh3p?file=/sidebars.js
Steps to reproduce
When the file name is the same as the parent folder name, like:
Expected behavior
via /docs/storage/storage
Actual behavior
/docs/storage
Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: