Created
January 24, 2019 18:29
-
-
Save JacobKnaack/398ea713ec6fc0d23939220d98c0677d to your computer and use it in GitHub Desktop.
Gatsby config file for gatsby-docs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
siteMetadata: { | |
title: `Gatsby Docs`, | |
description: `Create and View Minimalistic Documentation, powered by GatsbyJs and CosmicJS`, | |
author: `@jacobknaack`, | |
}, | |
plugins: [ | |
`gatsby-plugin-eslint`, | |
`gatsby-plugin-react-helmet`, | |
`gatsby-transformer-sharp`, | |
`gatsby-plugin-sharp`, | |
`gatsby-plugin-sass`, | |
{ | |
resolve: `gatsby-plugin-manifest`, | |
options: { | |
name: `gatsby-docs`, | |
short_name: `docs`, | |
start_url: `/`, | |
display: `minimal-ui`, | |
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site. | |
}, | |
}, | |
{ | |
resolve: `gatsby-source-graphql`, | |
options: { | |
url: `https://graphql.cosmicjs.com/v1`, | |
fieldName: `docs`, | |
typeName: `Doc`, | |
refetchInterval: 10, | |
}, | |
}, | |
// this (optional) plugin enables Progressive Web App + Offline functionality | |
// To learn more, visit: https://gatsby.app/offline | |
// 'gatsby-plugin-offline', | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment