-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
106 lines (105 loc) · 2.53 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
const isProduction = process.env.NODE_ENV === 'production'
module.exports = {
siteMetadata: {
title: 'AnmO2l',
description: 'Documentation site for a pulse-dose oxygen conservation system',
siteUrl: 'https://anmol2.org',
},
pathPrefix: '',
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-source-filesystem`,
options: {
name: `uploads`,
path: `${__dirname}/uploads`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `docs`,
path: `${__dirname}/docs`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/src/pages`,
},
},
{
resolve: 'gatsby-plugin-web-font-loader',
options: {
custom: {
families: ['Inter'],
urls: ['fonts.css'],
},
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-remark-images',
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-embed-video',
options: {
related: false,
noIframeBorder: true,
},
},
'gatsby-remark-responsive-iframe',
{
resolve: `gatsby-remark-relative-images`,
options: {
staticFolderName: '',
},
},
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 800,
quality: 100,
showCaptions: ['title'],
markdownCaptions: false,
},
},
'gatsby-remark-gifs',
'gatsby-remark-figure',
'gatsby-remark-numbered-footnotes',
{
resolve: `gatsby-remark-twemoji-shortcut`,
options: {
style: {
display: 'inline',
},
},
},
],
remarkPlugins: [
require('remark-slug'),
require('remark-emoji'),
],
},
},
'gatsby-plugin-meta-redirect',
'gatsby-plugin-theme-ui',
'gatsby-plugin-redirects',
'gatsby-plugin-remove-trailing-slashes',
'gatsby-plugin-catch-links',
'gatsby-plugin-sitemap',
{
resolve: `gatsby-plugin-goatcounter`,
options: {
code: isProduction ? 'anmo2l' : 'anmo2l-dev',
allowLocal: !isProduction,
referrer: true,
},
},
]
}