-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
docusaurus.config.js
130 lines (130 loc) · 3.51 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
module.exports = {
title: "Electron React Boilerplate",
tagline: "A Foundation for Scalable Cross-Platform Apps",
url: "https://electron-react-boilerplate.js.org/",
baseUrl: "/",
favicon: "logo/logo.png",
organizationName: "electron-react-boilerplate",
projectName: "site",
trailingSlash: false,
themeConfig: {
announcementBar: {
id: "palette_banner",
content:
'<a target="_blank" rel="noopener noreferrer" href="https://palette.dev">Try Palette - Electron Performance, made easy</a>',
isCloseable: false,
},
colorMode: {
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: true,
},
hideOnScroll: true,
navbar: {
title: "Electron React Boilerplate",
logo: {
alt: "ERB Logo",
src: "logo/logo.png",
},
items: [
{ to: "docs/installation", label: "Docs", position: "left" },
{ to: "docs/app-showcase", label: "Showcase", position: "left" },
{ to: "docs/roadmap", label: "Roadmap", position: "left" },
{
position: "left",
href: "http://github.com/electron-react-boilerplate/examples#table-of-contents",
label: "Examples",
},
{
position: "left",
href: "http://github.com/electron-react-boilerplate/electron-react-boilerplate",
label: "GitHub",
},
{
position: "left",
href: "https://opencollective.com/electron-react-boilerplate-594",
label: "Donate",
},
{ to: "blog", label: "Blog" },
],
},
footer: {
links: [
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/installation",
},
],
},
{
title: "Community",
items: [
{
label: "Showcase",
to: "docs/app-showcase",
},
{
label: "Community Chat",
to: "https://github.com/electron-react-boilerplate/electron-react-boilerplate/discussions",
},
{
label: "Twitter",
to: "https://twitter.com/eBoilerplate",
},
{
label: "Blog",
to: "blog",
},
],
},
{
title: "More",
items: [
{
label: "GitHub",
to: "https://github.com/electron-react-boilerplate/electron-react-boilerplate",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Electron React Boilerplate`,
},
algolia: {
// "Search only api key". Safe to keep this public
apiKey: "153d0c8921fcb9addaf1807f8899486d",
indexName: "electron-react-boilerplate",
appId: "6C92C9G1ZT",
contextualSearch: true,
},
},
scripts: [
{
src: "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",
async: true,
},
],
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/electron-react-boilerplate/site/edit/main",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
googleAnalytics: {
trackingID: "UA-127797742-1",
},
gtag: {
trackingID: "UA-127797742-1",
},
},
],
],
};