Have you read the Contributing Guidelines on issues?
Prerequisites
Description
After I upgrade to 3.3.2, my website start to build failed.
I find that if my docs has routeBasePath: '/' in docusaurus.config.js and a category.json have "slug": "/" it will have error.
Please help thanks!
Reproducible demo
https://github.com/antoniohou/Docusaurus-Test
Steps to reproduce
- Create website with command
npx create-docusaurus@latest my-website classic
- Delete src/pages/index.js
- Add routeBasePath: '/' in docs in docusaurus.config.js
- Add "slug": "/" in docs/tutorial-basics/category.json
Expected behavior
Build success.
Actual behavior
Build failed.
Your environment
No response
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
After I upgrade to 3.3.2, my website start to build failed.
I find that if my docs has routeBasePath: '/' in docusaurus.config.js and a category.json have "slug": "/" it will have error.
Please help thanks!
Reproducible demo
https://github.com/antoniohou/Docusaurus-Test
Steps to reproduce
npx create-docusaurus@latest my-website classicExpected behavior
Build success.
Actual behavior
Build failed.
Your environment
No response
Self-service