1.0.0 • Published 3 years ago

@adobe/parliament-source-changelog v1.0.0

Weekly downloads
23
License
Apache-2.0
Repository
-
Last release
3 years ago

parliament-source-changelog

Creates a changelog from the folder specified in the plugins options.

Install

yarn add @adobe/parliament-source-changelog

How to use

// In your gatsby-config.js
const changelogTemplate = path.resolve(pathToTemplate);

module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `changelog`,
        path: `${__dirname}/path/to/changelog`,
      },
    },
    {
      resolve: `@adobe/parliament-source-changelog`,
      options: {
        template: changelogTemplate,
        path: `${__dirname}/path/to/changelog`,
      },
    },
  ],
};

How to query

{
  allHeaderTabs {
    edges {
      node {
        id
        path
        title
      }
    }
  }
}

Contributing

Contributions are welcomed! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

1.0.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago