Gatsby
DEPRECATED
I'm no longer actively maintaining this Gatsby integration due to the rapid pace of frontend development. However, the source code remains available for those who wish to adapt and maintain it independently. You can refer to the orgajs project for examples of advanced usage.
Create Gatsby Project
Create a new gatsby website following the documentation. Or simply
npx gatsby new gatsby-site
Installation
Install packages.
cd gatsby-site
yarn add gatsby-plugin-orga @orgajs/react @orgajs/loader
Configuration
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
.