-
Notifications
You must be signed in to change notification settings - Fork 32
/
gatsby-config.js
54 lines (54 loc) · 1.44 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
module.exports = {
siteMetadata: {
siteTitle: `Rocket Docs`,
defaultTitle: `Rocket Docs`,
siteTitleShort: `Rocket Docs`,
siteDescription: `Out of the box Gatsby Theme for creating documentation websites easily and quickly`,
siteUrl: `https://rocketdocs.netlify.app`,
siteAuthor: `@jpedroschmitz`,
siteImage: `/banner.png`,
siteLanguage: `en`,
themeColor: `#8257E6`,
basePath: `/`,
},
plugins: [
{
resolve: `@rocketseat/gatsby-theme-docs`,
options: {
configPath: `src/config`,
docsPath: `src/docs`,
homePath: `src/home`,
yamlFilesPath: `src/yamlFiles`,
repositoryUrl: `https://github.com/jpedroschmitz/rocketdocs`,
baseDir: `examples/gatsby-theme-docs`,
gatsbyRemarkPlugins: [],
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Rocket Docs`,
short_name: `Rocket Docs`,
start_url: `/`,
background_color: `#ffffff`,
display: `standalone`,
icon: `static/favicon.png`,
},
},
`gatsby-plugin-sitemap`,
// {
// resolve: `gatsby-plugin-google-analytics`,
// options: {
// trackingId: `YOUR_ANALYTICS_ID`,
// },
// },
`gatsby-plugin-remove-trailing-slashes`,
{
resolve: `gatsby-plugin-canonical-urls`,
options: {
siteUrl: `https://rocketdocs.netlify.app`,
},
},
`gatsby-plugin-offline`,
],
};