Create Gatsby Project

Create a new gatsby website following the documentation. Or simply

npx gatsby new gatsby-site


Install packages.

cd gatsby-site
yarn add gatsby-plugin-orga @orgajs/react @orgajs/loader


Add gatsby-plugin-orga to gatsby-config.js.

module.exports = {
  plugins: ['gatsby-plugin-orga']

Add a org file in folder src/pages directory. It should work out of the box.

For more advanced usage, please checkout code of orgajs project, which generate this website via gatsby-theme-orga-docs.