I am building a documentation site using docusaurus (version 2). It gives a 404 on /docs PAGE NOT FOUND error.
Links:
I am new to docusaurus, and I might have misconfigured my /docs. Would appreciate help from the community.
I am building a documentation site using docusaurus (version 2). It gives a 404 on /docs PAGE NOT FOUND error.
Links:
I am new to docusaurus, and I might have misconfigured my /docs. Would appreciate help from the community.
You'll need to override the slug in the frontmatter on your 'home' docs page to be /.
For example, if you wanted your CleanCode.md document to become your 'home' page, accessible at /docs, then you'd add the following to its frontmatter at the top of the Markdown:
slug: /
The Docusaurus v2 docs explain more.