-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocusaurus.config.js
99 lines (99 loc) · 2.47 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
module.exports = {
title: 'InboxSDK',
tagline: 'Build apps inside of Gmail',
url: 'https://inboxsdk.github.io',
baseUrl: '/inboxsdk-docs/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'InboxSDK', // Usually your GitHub org/user name.
projectName: 'inboxsdk-docs', // Usually your repo name.
trailingSlash: true,
themeConfig: {
// algolia: {
// apiKey: '319308999ead35d0a17df976af4a951a',
// appId: 'inboxsdk',
// indexName: 'inboxsdk',
// searchParameters: {}, // Optional (if provided by Algolia)
// },
navbar: {
title: 'InboxSDK Documentation',
logo: {
href: "/",
alt: 'InboxSDK Logo',
src: 'img/logo.svg',
},
items: [
{
href: 'https://github.com/InboxSDK/InboxSDK',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: 'getting-started',
},
{
label: 'API Reference',
to: 'api-reference',
},
{
label: 'Resources',
to: 'resources',
},
{
label: 'Changelog',
to: 'changelog',
},
],
},
{
title: 'Community',
items: [
{
label: 'Twitter',
href: 'https://twitter.com/inboxsdk',
},
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/inboxsdk/inboxsdk-docs',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Rewardly, Inc. Brought to you by <a href="www.streak.com">Streak</a>`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarCollapsible: false,
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/InboxSDK/inboxsdk-docs/edit/main',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};