1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-02 00:05:35 +01:00
docs/gatsby-config.js

59 lines
1.6 KiB
JavaScript
Raw Normal View History

2018-11-07 12:24:53 +01:00
module.exports = {
siteMetadata: {
2018-11-07 17:00:54 +01:00
title: 'Ocean Protocol Documentation',
description: '',
siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com'
2018-11-07 12:24:53 +01:00
},
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: `${__dirname}/content`
}
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 600
}
},
'gatsby-remark-prismjs',
'gatsby-remark-autolink-headers'
]
}
},
2018-11-08 10:44:46 +01:00
'gatsby-transformer-yaml',
{
resolve: 'gatsby-plugin-sass',
options: {
includePaths: [`${__dirname}/src/styles`]
}
},
2018-11-07 17:00:54 +01:00
{
resolve: 'gatsby-plugin-svgr',
options: {
icon: true,
viewBox: false
// see https://github.com/smooth-code/svgr for a list of all options
}
},
'gatsby-plugin-catch-links',
2018-11-07 12:24:53 +01:00
'gatsby-plugin-react-helmet',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp'
// 'gatsby-plugin-offline',
]
}