How to use gatsby-theme-apollo-docs - 5 common examples

To help you get started, we’ve selected a few gatsby-theme-apollo-docs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wp-graphql / wp-graphql / docs / src / gatsby-theme-apollo-docs / components / page-layout.js View on Github external
function handleToggleCategory(title, expanded) {
  trackEvent({
    eventCategory: GA_EVENT_CATEGORY_SIDEBAR,
    eventAction: 'toggle category',
    eventLabel: title,
    eventValue: Number(expanded),
  })
}
github wp-graphql / wp-graphql / docs / src / gatsby-theme-apollo-docs / components / page-layout.js View on Github external
function handleToggleAll(expanded) {
  trackEvent({
    eventCategory: GA_EVENT_CATEGORY_SIDEBAR,
    eventAction: 'toggle all',
    eventLabel: expanded ? 'expand' : 'collapse',
  })
}
github wp-graphql / wp-graphql / docs / src / gatsby-theme-apollo-docs / components / section-nav.js View on Github external
function handleHeadingClick(event) {
  trackEvent({
    eventCategory: 'Section Nav',
    eventAction: 'heading click',
    eventLabel: event.target.innerText,
  })
}
github wp-graphql / wp-graphql / docs / src / gatsby-theme-apollo-docs / components / page-layout.js View on Github external
versions.map(version => ({
                    text: getVersionLabel(version),
                    value: getVersionBasePath(version),
                  }))
                )}

gatsby-theme-apollo-docs

A Gatsby theme for building documentation websites

MIT
Latest version published 2 years ago

Package Health Score

45 / 100
Full package analysis