Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Latest commit

 

History

History
20 lines (10 loc) · 622 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 622 Bytes

DB PatternHub

This is a scaffold next.js app for documentation and testing of components.

How to use this?

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.

Github-Version-Switcher

If you like a version-switcher for github you can change the .env file and acivate it.