-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
53 lines (53 loc) · 1.32 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
module.exports = {
siteMetadata: {
siteTitle: `HUSTLUG`,
defaultTitle: `HUSTLUG`,
siteTitleShort: `HUSTLUG`,
siteDescription: `HUSTLUG DOC`,
siteUrl: `https://doc.hlug.cn`,
siteAuthor: `@HUSTLUG`,
siteImage: `/banner.png`,
siteLanguage: `en`,
themeColor: `#FFA33C`,
basePath: `/`,
},
plugins: [
{
resolve: `@rocketseat/gatsby-theme-docs`,
options: {
configPath: `src/config`,
docsPath: `src/docs`,
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`,
],
};