-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
117 lines (116 loc) · 3.99 KB
/
docusaurus.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
require('dotenv').config()
module.exports = {
title: 'Documentation',
tagline: 'Explore guides and examples to integrate Shake into your app.',
url: 'https://docs.shakebugs.com',
baseUrl: '/docs/',
favicon: 'img/favicon.png',
trailingSlash: true,
organizationName: 'shakebugs', // Usually your GitHub org/user name.
projectName: 'shake-docs', // Usually your repo name.
themeConfig: {
inkeepConfig: {
baseSettings: {
apiKey: process.env.INKEEP_KEY || '',
integrationId: 'clrhxn3th00stvmh08mx2o9as',
organizationId: 'org_8oLDuGb1oVIA7GB3',
primaryBrandColor: '#6551FF',
},
aiChatSettings: {
chatSubjectName: 'Shake',
botAvatarSrcUrl: 'https://www.shakebugs.com/wp-content/themes/shake/public/shake-banner-image.svg',
quickQuestions: [
'Can I provide my own internationalization strings?',
'How do I customize the theme on iOS?',
'Where can I view user feedback and what information does it include?',
],
getHelpCallToActions: [
{
url: 'https://shk.sh/join-slack',
name: 'Slack Community',
icon: {
builtIn: 'FaSlack',
},
},
],
},
},
docs: {
sidebar: {
hideable: false
}
},
colorMode: {
defaultMode: 'dark',
respectPrefersColorScheme: false,
},
scrollToTop: false,
scrollToTopOptions: false,
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
additionalLanguages: ['groovy', 'kotlin', 'java', 'swift', 'dart', 'batch'],
},
// algolia: {
// appId: 'Q6FOQ6DC6Q',
// apiKey: '3ebbb9c4424c458a83683abfb66e7bb6',
// indexName: 'shakebugs',
// },
navbar: {
logo: {
alt: 'Shake logo',
src: 'img/shake-full-logo.svg',
href: 'https://www.shakebugs.com/',
},
items: [
{
to: '/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{
label: 'Platform',
position: 'left',
items: [
{to: 'android/overview', label: 'Android', activeBasePath: '/android'},
{to: 'ios/overview', label: 'iOS', activeBasePath: '/ios'},
{to: 'flutter/overview', label: 'Flutter', activeBasePath: '/flutter'},
{to: 'react/overview', label: 'React Native', activeBasePath: '/react'},
{to: 'web/overview', label: 'Web', activeBasePath: '/web'}
],
},
{
href: 'https://app.shakebugs.com/',
label: 'Dashboard',
position: 'right',
},
],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: [
require.resolve('./src/plugins/inject-html-tags'),
[
'docusaurus-plugin-dotenv',
{
path: "./.env",
systemvars: true,
}
]
],
themes: ['@inkeep/docusaurus/searchBar'],
};