This is a scaffold next.js app for documentation and testing of components.
Add your documentation under /pages
folder.
You can use simple folder structure to make your pages and subpages.
You can use .tsx or .mdx files to write your documents (see the examples).
As root file for a subfolder you should name it index.[mdx|tsx]
.
After you add a new subfolder or page you need to update the routes for the main-navigation under /data/routes.ts
.
If you like a version-switcher for github you can change the .env
file and acivate it.