https://github.com/robincsl/docz-with-gatsby
Example of how to have both Docz and Gatsby work together
https://github.com/robincsl/docz-with-gatsby
Last synced: over 1 year ago
JSON representation
Example of how to have both Docz and Gatsby work together
- Host: GitHub
- URL: https://github.com/robincsl/docz-with-gatsby
- Owner: RobinCsl
- License: mit
- Created: 2019-01-14T18:47:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-19T19:15:17.000Z (over 7 years ago)
- Last Synced: 2025-02-01T06:45:43.790Z (over 1 year ago)
- Language: CSS
- Size: 558 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Instructions to reproduce
```
npx gatsby-cli new my-example-with-gatsby-and-docz
cd my-example-with-gatsby-and-docz
yarn add docz docz-theme-default --dev
```
Modify `package.json` to add the following script:
```
...
"docz:dev": "docz dev"
...
```
and then run:
- `yarn develop` to see your Gatsby site at http://localhost:8000,
- `yarn docz:dev` to see your Docz site at http://localhost:3000.