Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gatsby theme for generating static API documentation from Markdown.
Greenboard is an open-source Gatsby theme for generating static API documentation sites from a single Markdown file.
Greenboard is a Gatsby theme that consumes a Markdown file at data/index.html.md and produces a static documentation website. It runs on Gatsby, so the output is a set of pre-rendered HTML files that can be deployed to any static host. The theme follows the same document structure as Slate docs, which makes it a direct alternative for teams already using Slate's Markdown format. The project is published on npm as gatsby-greenboard and was created by shamin.
data/index.html.md file and Greenboard builds the entire static site from it./docs by adding pathPrefix to your Gatsby config.example/ that you can run locally with yarn workspace example develop.data/index.html.md and run yarn gatsby develop to preview it locally.yarn gatsby build and serve the resulting static files on GitHub Pages, Netlify, or any other static host.yarn add gatsby react react-dom and add gatsby-greenboard as a plugin in gatsby-config.js.data/index.html.md.yarn gatsby develop for development or yarn gatsby build to generate production files.Greenboard is a Gatsby theme, so basic usage only requires running Gatsby commands. Deep customization, such as changing components or styling, requires familiarity with Gatsby and React.
Yes. Add pathPrefix: "/docs" to your gatsby-config.js before building. Gatsby will output the site so it works under that sub-path, which is useful for project documentation hosted on GitHub Pages.
The Greenboard source code is public on GitHub and the npm package is installable without a license fee. You can use it for your own documentation and modify it for your needs.
The README lists an email address ([email protected]) for support questions. You can also open issues on the GitHub repository.
