-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
100 lines (100 loc) · 2.83 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
module.exports = {
pathPrefix: "/aux-eng-playbook/",
siteMetadata: {
title: `Wayfair Open Source`,
description: `Home of the Open Source Program Office and Wayfair specific documenting for working with OSS`,
author: `[email protected]`,
siteUrl: `https://wayfair-incubator.github.io/aux-eng-playbook/`,
keywords: [`opensource`, `wayfair`, `Wayfair`, `OSS`, `OSPO`],
},
plugins: [
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-embed-gist`,
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
`gatsby-remark-prismjs`,
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
{
resolve: `gatsby-remark-autolink-headers`,
options: {
className: `heading-anchor`,
},
},
],
},
},
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-robots-txt`,
options: {
host: `https://wayfair-incubator.github.io/aux-eng-playbook/`,
sitemap: `https://wayfair-incubator.github.io/aux-eng-playbook//sitemap/sitemap-index.xml`,
policy: [{ userAgent: `*`, allow: `/` }],
},
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-image`,
{
resolve: `gatsby-plugin-gdpr-cookies`,
options: {
googleAnalytics: {
trackingId: 'G-WDNGECESR2', // leave empty if you want to disable the tracker
cookieName: 'gatsby-gdpr-google-analytics', // default
anonymize: true, // default
allowAdFeatures: false // default
},
environments: ['production']
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `fonts`,
path: `${__dirname}/src/fonts`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `docs`,
path: `${__dirname}/src/docs`,
},
},
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `wayfair-incubator.github.io/aux-eng-playbook/`,
short_name: `wayfair-incubator.github.io/aux-eng-playbook/`,
background_color: `#FFF`,
theme_color: `#612578`,
display: `minimal-ui`,
icon: `src/images/aux.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-gatsby-cloud`
],
}