forked from polotno-project/polotno-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
132 lines (129 loc) · 3.41 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
module.exports = {
title: 'Polotno',
tagline: 'Customizable SDK for making your own canvas editor',
url: 'https://polotno.dev',
baseUrl: '/',
favicon: 'img/favicon.ico',
// organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'polotno', // Usually your repo name.
themeConfig: {
colorMode: {
disableSwitch: true,
},
navbar: {
title: 'Polotno',
logo: {
alt: 'Polotno logo',
src: 'img/logo.svg',
},
items: [
{ to: 'docs/overview', label: 'Docs', position: 'left' },
{ to: 'changelog', label: 'Changelog', position: 'left' },
{ to: '/pricing', label: 'Price', position: 'left' },
{ to: '/docs/demo-full-editor', label: 'Showcase', position: 'left' },
{ to: 'https://studio.polotno.dev', label: 'Studio', position: 'left' },
{ to: '/cabinet', label: 'API keys', position: 'right' },
{
to: 'https://discord.gg/W2VeKgsr9J',
label: 'Discord chat',
position: 'right',
},
{ to: '/contact', label: 'Contact', position: 'right' },
],
},
footer: {
style: 'dark',
links: [
{
title: 'Resources',
items: [
{
label: 'Getting Started',
to: 'docs/overview',
},
{
label: 'Roadmap and bugs reports',
href: 'https://github.com/polotno-project/polotno-board/projects/1',
},
{
label: 'Blog',
to: '/blog',
},
// {
// label: 'Second Doc',
// to: 'docs/doc2'
// }
],
},
// {
// title: 'Community',
// items: [
// {
// label: 'Stack Overflow',
// href: 'https://stackoverflow.com/questions/tagged/docusaurus',
// },
// {
// label: 'Discord',
// href: 'https://discordapp.com/invite/docusaurus',
// },
// ],
// },
{
title: 'Company',
items: [
{
label: 'Status',
href: 'https://status.polotno.dev',
},
{
label: 'License',
href: '/license',
},
{
label: 'Privacy',
href: '/privacy',
},
{
label: 'Twitter',
href: 'https://twitter.com/lavrton',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Polotno. Built with Docusaurus.`,
},
algolia: {
apiKey: '29f79523fee713489da139abf189e9c4',
indexName: 'polotno',
// Optional: see doc section bellow
contextualSearch: false,
// Optional: Algolia search parameters
searchParameters: {},
//... other Algolia params
},
},
scripts: [
{
src: 'https://plausible.io/js/plausible.js',
async: true,
defer: true,
'data-domain': 'polotno.dev',
},
{
src: 'https://cdn.paddle.com/paddle/paddle.js',
},
],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};