a python/javascript/php/linux guru ready to take on the world...
1 min read
$ mkdir my-project-docs$ cd my-project-docs
but call it whatever you want.
$ 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...