Primer Docz Theme
Usage
1. Install
Install Docz and and the Primer Docz theme:
npm install docz primer-docz-theme
2. Configure
// doczrc.js
export default {
theme: 'primer-docz-theme'
}
3. Create
Create your .mdx
files anywhere in your project. You don't need to follow any strict file architecture.
// example.mdx
# Hello World
4. Run
Spin up your dev server by running:
npm run docz:dev