forked from deta/cloud-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
87 lines (87 loc) · 1.98 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
module.exports = {
title: 'Deta Docs',
tagline: 'Deta Library and HTTP API docs.',
url: 'https://docs.deta.sh',
baseUrl: '/',
favicon: 'img/logo.svg',
organizationName: 'Deta',
projectName: 'deta-docs',
themeConfig: {
navbar: {
title: 'Deta',
logo: {
alt: 'Deta Logo',
src: 'img/logo.svg',
target: '/docs/home',
},
items: [
{
to: 'docs/home',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{
href: 'https://github.com/deta/docs',
label: 'GitHub',
position: 'right',
},
],
},
algolia: {
apiKey: '4b3aaec0466a855ce8ec420d3baedde3',
indexName: 'deta',
},
footer: {
style: 'light',
links: [
{
title: 'Community',
items: [
{
label: 'Slack',
href: 'https://deta-hq.slack.com/',
},
{
label: 'Twitter',
href: 'https://twitter.com/detahq',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
href: 'https://blog.deta.sh/',
},
{
label: 'GitHub',
href: 'https://github.com/deta/',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Abstract Computing UG (haftungsbeschränkt). `,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/deta/docs/tree/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
stylesheets: [
'https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Karla&display=swap',
],
};