daniel-simpson / gatsby-source-confluence

7 stars 9 forks source link

Gatsby-Source-Confluence

A quick and dirty Gatsby source plugin for retrieving data from everybody's least favourite content editor, Confluence.

An example site is available on Netlify

Installation

npm i --save gatsby-source-confluence

Usage

Add the following to your gatsby-config.js file:

module.exports = {
  plugins: [
    "gatsby-plugin-react-helmet",
    {
      resolve: "gatsby-source-confluence",
      options: {
        hostname: "companyname.atlassian.net",
        auth: "Basic XXX...",
        cql: "ancestor = 534095277",
        limit: 10
      }
    }
  ]
};

Please ensure that the following parameters are set:

Known issues

Pull requests welcome!