0.0.3 • Published 7 years ago

@porch/gatsby-source-gitlab-files v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

gatsby-source-gitlab-repository-files

Gatsby source plugin to load file metadata from a Gitlab repository

Usage

npm install @porch/gatsby-source-gitlab-repository-files

Add the following to your gatsby-config

 plugins: [
    {
      resolve: '@porch/gatsby-source-gitlab-repository-files',
      options: {
        folderPath: '../docs', // Folder your want to get all the files in
        gitRepoRoot: '../', // Path from gatsby-config to .git root
        gitlab: {
          domain: 'your-gitlab-domain',
          privateToken: 'your-private-token',
        }
      }
    }
]