This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgatsby-config.js
61 lines (59 loc) · 1.63 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
const path = require('path')
const config = require('./data/config')
const contentConfig = require('./contentConfig')
console.log(path.resolve(__dirname, 'src/components'))
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
pathPrefix: '/BMRG_APP_ROOT_CONTEXT',
siteMetadata: {
author: config.author,
title: 'Docs',
description: 'Boomerang OSS documentation',
platformName: 'Boomerang.io',
docsContext: '/docs',
docsLocation:
'https://github.com/boomerang-io/useboomerang.io/tree/main/content',
githubUrl: 'https://github.com/boomerang-io/useboomerang.io',
siteUrl: 'https://www.useboomerang.io/',
homeTitle: 'Boomerang',
homeDescription: 'Documentation for Boomerang Flow and Boomerang Bosun',
linksConfig: contentConfig.linksConfig,
solutionsConfig: contentConfig.solutionsConfig,
footerLinksConfig: contentConfig.footerLinksConfig,
standaloneMode: true,
uiShellProductName: 'IO',
socialLinks: config.socialLinks,
isGaActive: false,
navLinks: [
{
name: 'Flow',
url: '/flow',
},
{
name: 'Docs',
url: '/docs',
},
],
},
plugins: [
{
resolve: '@boomerang-io/gatsby-theme-boomerang',
options: { lunrSearch: true },
},
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-source-graphql',
options: {
typeName: 'GitHub',
fieldName: 'github',
url: 'https://api.github.com/graphql',
headers: {
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
},
fetchOptions: {},
},
},
],
}