This repository has been archived by the owner on Feb 2, 2020. It is now read-only.
generated from kata-ai/grundgesetz-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
86 lines (85 loc) · 2.21 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
'use strict';
module.exports = {
siteMetadata: {
title: 'Grundgesetz',
sidebarTitle: 'Grundgesetz',
description: 'Zero-configuration documentation builder, powered by Gatsby.',
siteUrl: 'https://grundgesetz-skeleton.netlify.com',
keywords: 'gatsbyjs, gatsby, documentation, sample project',
author: {
name: 'Resi Respati',
url: 'https://resir014.xyz',
email: '[email protected]'
}
},
plugins: [
{
// keep as first gatsby-source-filesystem plugin for gatsby image support
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/static/img`,
name: 'uploads'
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: `${__dirname}/docs`
}
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-relative-images',
options: {
name: 'uploads'
}
},
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 704,
quality: 90,
wrapperStyle: 'margin-top: 32px; margin-bottom: 32px;',
linkImagesToOriginal: false
}
},
{
resolve: 'gatsby-remark-responsive-iframe',
options: {
wrapperStyle: 'margin-bottom: 1rem'
}
},
{
resolve: 'gatsby-remark-prismjs',
options: {
inlineCodeMarker: '›'
}
},
'gatsby-remark-copy-linked-files',
'gatsby-remark-autolink-headers',
'gatsby-remark-smartypants'
]
}
},
'gatsby-transformer-json',
{
resolve: 'gatsby-plugin-canonical-urls',
options: {
siteUrl: 'https://grundgesetz-skeleton.netlify.com'
}
},
'gatsby-plugin-styled-components',
'gatsby-plugin-resolve-src',
'gatsby-plugin-catch-links',
'gatsby-plugin-typescript',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-react-helmet',
'gatsby-plugin-netlify-cache',
'gatsby-plugin-netlify'
]
};