Docs
This kit uses Nextra to host the documentation for your app. All the documentation pages are in the src/pages/docs
folder. The documentation you are reading currently is built using the same setup. The documentation pages can be accessed from /docs
route.
New Page
Nextra follows folder based routing. So, to create a new page, you need to create a new markdown file in the src/pages/docs
folder and it should be listed in the _meta.ts
file of the corresponding folder. Use the frontmatter to set the title of the page. Check the existing pages to get an idea of the file name and the structure.
Configuration
The configuration for the Nextra is in the nextra.config.ts
file. You can customize the theme, the sidebar, the footer, and other things as per your needs.