Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-source-google-docs

npm package

gatsby-source-google-docs is a Gatsby plugin to use Google Docs as a data source.

Why use Google Docs to write your content :

  • πŸ–‹ Best online WYSIWYG editor
  • πŸ–₯ Desktop web app
  • πŸ“± Mobile app
  • πŸ›© Offline redaction
  • πŸ”₯ No need for external CMS
  • βœ… No more content in your source code
  • πŸ—‚ Automatic breadcrumb generation
  • 🀑 Custom metadata fields

Usage

  1. Download gatsby-source-google-docs from the NPM registry:
yarn add gatsby-source-google-docs gatsby-transformer-remark gatsby-remark-images
  1. Open a terminal at the root of your project and Generate a token
gatsby-source-google-docs-token
  1. Add the plugin in your gatsby-config.js file
module.exports = {
    plugins: [
        "gatsby-source-google-docs",
        {
            resolve: "gatsby-transformer-remark",
            options: {
                plugins: ["gatsby-remark-images"],
            },
        },
    ],
}
  1. Create pages

Documentation

Contributing

  • ⇄ Pull/Merge requests and β˜… Stars are always welcome.
  • For bugs and feature requests, please create an issue.

See CONTRIBUTING guidelines

Changelog

See CHANGELOG

License

This project is licensed under the MIT License - see the LICENCE file for details

Β© 2023 Gatsby, Inc.