Ziinc / gatsby-source-gitlab-wiki-api

Pull data into Gatsby from GitLab wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatsby-source-github-api

Source plugin for pulling data into Gatsby from the official gitlab wiki api

Install

todo

How to use

Create a gatsby-config.js file or open the one you already have.

In there, you want to add this plugin and at least add the token in the options object:

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-source-gitlab-wiki-api`,
    options: {
      // token: required by the Gitlab API
      token: someString,
      
      // include slugs to exclude
      slugsToExclude: [],
      // the project id
      id: someString,
    }
  }
]
ezoic increase your site revenue

About

Pull data into Gatsby from GitLab wiki


Languages

Language:JavaScript 100.0%