1.4.0 • Published 3 years ago

@adobe/parliament-transformer-navigation v1.4.0

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

parliament-transformer-navigation

Allows you to specify your side navigation in json or yaml formats.

Install

yarn add @adobe/parliament-transformer-navigation

How to use

// In your gatsby-config.js
const gitInfo = GitUrlParse(process.env.GATSBY_SOURCE)
const gitRepoInfo = {
  org: gitInfo.owner,
  name: gitInfo.name,
  branch: process.env.GATSBY_SOURCE_BRANCH,
}
module.exports = {
  plugins: [
    {
      resolve: `@adobe/parliament-transformer-navigation`,
      options: {
        gitRepoInfo: gitRepoInfo
      },
    },
  ],
}

How to query

{
  parliamentNavigation {
    homePage
    pages
  }
}

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.4.0

3 years ago

1.4.0-beta.2

3 years ago

1.4.0-beta.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago