-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgatsby-config.js
160 lines (160 loc) · 3.99 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
module.exports = {
pathPrefix: `/node-nikita-docs`,
siteMetadata: {
title: 'Nikita',
siteUrl: `https://nikita.js.org`,
description:
'Nikita - Automation of system deployments for applications and infrastructures.',
keywords:
'automation, deployment, node.js, devops, systems, applications, infrastructures',
github: {
url: 'https://github.com/adaltas/node-nikita',
title: 'Nikita GitHub Repository',
},
issues: {
url: 'https://github.com/adaltas/node-nikita/issues',
title: 'Report an issue',
},
footer: [
{
title: 'Navigate',
links: [
{
label: 'Getting started',
url: '/about/',
},
{
label: 'Usages',
url: '/usages/',
},
{
label: 'Metadata',
url: '/metadata/',
},
],
xs: 6,
sm: 3,
},
{
title: 'Contribute',
links: [
{
label: 'GitHub',
url: 'https://github.com/adaltas/node-nikita',
},
{
label: 'Issue Tracker',
url: 'https://github.com/adaltas/node-nikita/issues',
},
{
label: 'License',
url: '/about/license',
},
],
xs: 6,
sm: 3,
},
{
title: 'About',
content:
'Nikita is an open source product hosted on <a href="https://www.github.com" target="_blank" rel="noopener">GitHub</a> and developed by <a href="http://www.adaltas.com" target="_blank" rel="noopener">Adaltas</a>.',
xs: 12,
sm: 6,
},
],
},
plugins: [
`gatsby-plugin-material-ui`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-glamor`,
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/md`,
name: 'markdown-pages',
},
},
// {
// resolve: `gatsby-source-filesystem`,
// options: {
// path: `${__dirname}/../nikita/packages`,
// name: 'actions',
// ignore: ['**/assets', '**/env', '**/lib', '**/test']
// },
// },
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: 'gatsby-remark-autolink-headers',
options: {
offsetY: '64', // <600: 48; >600:64
},
},
{
resolve: 'gatsby-remark-toc-patched',
options: {
header: 'Table of Contents', // the custom header text
include: [
'**/*.md', // an include glob to match against
],
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: 'language-',
inlineCodeMarker: null,
aliases: {},
showLineNumbers: false,
inlineCodeMarker: '±',
prompt: {
user: "whoami",
host: "localhost",
global: false,
},
},
},
],
},
},
{
resolve: `gatsby-plugin-catch-links`,
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-1322093-4',
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'Nikita',
short_name: 'Nikita',
start_url: '/',
background_color: '#ffffff',
theme_color: '#105859',
display: 'minimal-ui',
icon: 'src/images/logo.png', // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-plugin-offline`,
},
{
resolve: `gatsby-plugin-sitemap`,
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://nikita.js.org',
sitemap: 'https://nikita.js.org/sitemap.xml',
policy: [{ userAgent: '*', allow: '/' }]
}
},
],
}