Skip to content

porchdotcom/gatsby-source-gitlab-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
        }
      }
    }
]

About

Gatsby source plugin to load file metadata from a Gitlab repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published