-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.js
More file actions
66 lines (65 loc) · 1.86 KB
/
config.js
File metadata and controls
66 lines (65 loc) · 1.86 KB
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
const config = {
gatsby: {
pathPrefix: '/',
siteUrl: 'https://cratebind-developer-handbook.netlify.com/',
gaTrackingId: null,
trailingSlash: false,
},
header: {
logo: 'https://cratebind.com/cratebind-map-marker.svg',
logoLink: 'https://cratebind-developer-handbook.netlify.com/',
title: 'Cratebind Dev Handbook',
githubUrl: 'https://github.com/cratebind/developer-handbook',
helpUrl: '',
tweetText: '',
links: [{ text: '', link: '' }],
search: {
enabled: false,
indexName: '',
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,
},
},
sidebar: {
forcedNavOrder: [
'/introduction', // add trailing slash if enabled above
'/codeblock',
],
collapsedNav: [
'/codeblock', // add trailing slash if enabled above
],
// links: [{ text: 'Hasura', link: 'https://hasura.io' }],
links: [],
frontline: false,
ignoreIndex: true,
},
siteMetadata: {
title: 'Cratebind Developer Handbook',
description: 'Cratebind Developer Handbook',
ogImage: null,
docsLocation:
'https://github.com/hasura/gatsby-gitbook-boilerplate/tree/master/content',
favicon: 'https://graphql-engine-cdn.hasura.io/img/hasura_icon_black.svg',
},
pwa: {
enabled: false, // disabling this will also remove the existing service worker.
manifest: {
name: 'Cratebind Developer Handbook',
short_name: 'CratebindDevHandbook',
start_url: '/',
background_color: '#6b37bf',
theme_color: '#6b37bf',
display: 'standalone',
crossOrigin: 'use-credentials',
icons: [
{
src: 'src/pwa-512.png',
sizes: `512x512`,
type: `image/png`,
},
],
},
},
};
module.exports = config;