"feat(v2): allow home page for docs" not working correctly #2776
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
🐛 Bug Report
I tried out alpha.55 and there seems to be a problem with the
feat(v2): allow home page for docs
feature.I have
about.md
in thedocs/
directory. I have sethomePageId: 'about'
indocusaurus.config.js
and haveInfo: ["about", ...]
insidebars.js
. When I go tohttp://localhost:3000/docs/
orhttp://localhost:3000/docs/about
I get a 404 Page. But if I go to any other page, It works as usual.Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
npx @docusaurus/init@next init alpha55 classic
docs/about.md
homePageId: 'about'
indocusaurus.config.js
Docusaurus: ['about', 'doc1', 'doc2', 'doc3'],
insidebars.js
Expected behavior
When I visit
http://localhost:3000/docs/
I should see the contents ofabout.md
along with the left sidebar.Actual Behavior
When I go to
http://localhost:3000/docs/
orhttp://localhost:3000/docs/about
I get a 404 Page. But if I go to any other page, It works as usual.Your Environment
Reproducible Demo
Demo project will be posted soon.
The text was updated successfully, but these errors were encountered: