Ziinc / gatsby-source-gitlab-wiki-api

Pull data into Gatsby from GitLab wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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



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


Pull data into Gatsby from GitLab wiki


Language:JavaScript 100.0%