This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgatsby-config.js
77 lines (76 loc) · 1.87 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
require(`dotenv`).config()
module.exports = {
siteMetadata: {
title: "Open Hardware Site",
description: "Starter for open hardware project sites.",
siteUrl: process.env.SITE_URL || "https://prakashlab.github.io",
},
pathPrefix: "/open-hardware-site",
plugins: [
`@reflexjs/gatsby-theme-base`,
{
resolve: `@reflexjs/gatsby-theme-doc`,
options: {
basePath: "gallery",
contentPath: "content/gallery"
}
},
{
resolve: `@reflexjs/gatsby-plugin-metatags`,
options: {
global: {
title: `Open Hardware Site`,
description: `A starter template for open hardware project websites.`
},
types: [
`MdxPage`,
`MdxPost`,
`MdxDoc`,
`MdxStyleguide`
],
paths: [
{
pathname: `/updates{,/}`,
defaults: {
title: `Project Updates`,
description: `News and updates about the project.`,
},
},
{
pathname: `/notion{,/**}`,
defaults: {
title: `Documentation`,
description: `Technical documentation about the project.`,
},
},
],
debug: false
}
},
{
resolve: `@reflexjs/gatsby-theme-post`,
options: {
basePath: "/updates",
postsPerPage: 8
}
},
`@reflexjs/gatsby-theme-styleguide`,
{
resolve: `gatsby-source-notionso`,
options: {
name: 'Doc',
rootPageUrl: 'https://www.notion.so/Open-Hardware-Site-Notion-Docs-df9ac3ecdd14491d91253aaa0adadbce',
debug: false
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/src/pages`
}
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sitemap`
],
}