2018-11-07 12:24:53 +01:00
|
|
|
module.exports = {
|
|
|
|
siteMetadata: {
|
2018-11-07 17:00:54 +01:00
|
|
|
title: 'Ocean Protocol Documentation',
|
|
|
|
description: '',
|
2018-11-07 16:13:20 +01:00
|
|
|
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`
|
|
|
|
}
|
|
|
|
},
|
2018-11-08 14:49:09 +01:00
|
|
|
{
|
|
|
|
resolve: 'gatsby-source-filesystem',
|
|
|
|
options: {
|
|
|
|
name: 'data',
|
2018-11-08 14:53:46 +01:00
|
|
|
path: `${__dirname}/data`
|
2018-11-08 14:49:09 +01:00
|
|
|
}
|
|
|
|
},
|
2018-11-07 16:13:20 +01:00
|
|
|
{
|
|
|
|
resolve: 'gatsby-transformer-remark',
|
|
|
|
options: {
|
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
resolve: 'gatsby-remark-images',
|
|
|
|
options: {
|
2018-11-08 13:21:39 +01:00
|
|
|
maxWidth: 756,
|
|
|
|
quality: 80,
|
|
|
|
withWebp: true,
|
|
|
|
linkImagesToOriginal: false,
|
|
|
|
showCaptions: true
|
2018-11-07 16:13:20 +01:00
|
|
|
}
|
|
|
|
},
|
2018-11-08 13:21:39 +01:00
|
|
|
'gatsby-remark-smartypants',
|
2018-11-07 16:13:20 +01:00
|
|
|
'gatsby-remark-prismjs',
|
2018-11-08 16:03:16 +01:00
|
|
|
'gatsby-remark-autolink-headers',
|
|
|
|
'gatsby-remark-relative-linker'
|
2018-11-07 16:13:20 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2018-11-08 10:44:46 +01:00
|
|
|
'gatsby-transformer-yaml',
|
2018-11-07 16:13:20 +01:00
|
|
|
{
|
|
|
|
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
|
|
|
|
}
|
|
|
|
},
|
2018-11-07 16:13:20 +01:00
|
|
|
'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',
|
|
|
|
]
|
|
|
|
}
|