Skip to content
📖Gatsby theme for api documentation
CSS JavaScript
Branch: master
Clone or download
Latest commit 2f9415f Oct 31, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Updated package name in example docs Oct 28, 2019
greenboard Updated package name in example docs Oct 28, 2019
logo Added new logo Oct 13, 2019
.gitignore Removed logo and updated gitignore Oct 13, 2019
.travis.yml Added a travis file to push to gh pages Oct 5, 2019
LICENSE Create LICENSE Oct 19, 2019 Added product hunt badge Oct 31, 2019
package.json Updated logo, repo url etc Oct 13, 2019
travis.yml Added a travis file to push to gh pages Oct 5, 2019



Greenboard - Generate beautiful static api documentation  | Product Hunt Embed

Create beautiful api documentation with gatsby and greenboard


  • Generate static site from markdown
  • Get all features of gatsby and react
  • Fully customizable
  • Dark Mode
  • Uses same structure of slate docs.


Setup your folder and install gatsby, react and react-dom

mkdir my-docs
cd my-docs
yarn init

yarn add gatsby react react-dom

Install greenboard

yarn add gatsby-greenboard

Then add gatsby-greenboard to your gatsby-config.js.

module.exports = {
  plugins: [
      resolve: "gatsby-greenboard",
      options: {},

Now create your api documentation in data/ You can check a sample format in here

That's it, you can now run your gatsby site using

yarn gatsby develop

Build the production files

yarn gatsby build


To get more customization fork this repo.

Clone the repo

Travese to the folder

cd greenboard

Install dependencies


To run example locally

yarn workspace example develop

To build example

yarn workspace example build

To run the build files locally with serve

npm install -g serve

cd example/build

To deploy example to github pages

yarn workspace example deploy


How can I deploy the docs to a non root path

Add the pathPrefix to gatsby-config.js in your docs folder

module.exports = {
  pathPrefix: `/docs`,

Run build command

yarn workspace example build

For more information visit


If you need some help you can contact me on my email

You can’t perform that action at this time.