06 24 2019 dark mode hook2019 06 09 graphql and gatsby2019 06 13 graphql schema definition 101About linkAdd BlogCommit blockCommit block listGridGrid2Header linksHeader logoHomeIndexMy ProfileSidebarTable notesselect-dropbox-root-foldersodebrrr
Components
Flex
General
Layouts
Projects
blogs
Heres how to make an easy site with docz
Create a directory
$ mkdir my-project-docs$ cd my-project-docs
but call it whatever you want.
Install Dependencies
$ yarn init -y$ yarn add react react-dom gatsby gatsby-theme-docz@next docz@next
Now we only need to add 2 small files and were done:
gatsby-config.js
- a configuration file, this is where we tell
gatsby
to use docz
some mdx file, we will start with our index/getting statrted page
module.exports = {plugins: [`gatsby-theme-docz`]}
---name: Getting Startedroute: /menu:---## Here is our first doc page
Thats all you need, now you can check out your new website with:
$ gatsby develop
Go ahead see...