-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathdocusaurus.config.js
178 lines (178 loc) · 4.68 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
module.exports = {
title: "Upptime",
tagline: "GitHub-powered open-source uptime monitor and status page",
url: "https://upptime.js.org",
baseUrl: "/",
onBrokenLinks: "throw",
favicon: "/img/icon.svg",
organizationName: "upptime",
projectName: "upptime.js.org",
themeConfig: {
gtag: {
trackingID: "G-TYJM49782H",
},
algolia: {
apiKey: "b5f7196e491eb55ad9ef3ca8d04e90fd",
indexName: "upptime",
},
image: "/img/smo.png",
metadatas: [{ name: "twitter:card", content: "summary" }],
navbar: {
title: "Upptime",
logo: {
alt: "",
src: "/img/icon.svg",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
to: "docs/get-started",
label: "Getting started",
position: "left",
},
{
href: "/blog/",
label: "Blog",
position: "left",
},
{
href: "https://demo.upptime.js.org",
label: "Example website",
position: "left",
},
{
href: "https://github.com/upptime/upptime",
label: "GitHub template",
position: "left",
},
{
href: "https://github.com/upptime",
label: "@upptime on GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Upptime",
items: [
{
label: "Documentation",
to: "docs/",
},
{
label: "Upptime Blog",
to: "/blog/",
},
{
label: "Getting started",
to: "docs/get-started",
},
{
label: "Example website",
to: "https://demo.upptime.js.org",
},
{
label: "GitHub organization",
href: "https://github.com/upptime",
},
],
},
{
title: "Support",
items: [
{
label: "Start a discussion",
to: "https://github.com/upptime/upptime/discussions",
},
{
label: "Open an issue",
to: "https://github.com/upptime/upptime/issues",
},
{
label: "Stack Overflow",
to: "https://stackoverflow.com/questions/tagged/upptime",
},
{
label: "Feedback",
to: "mailto:[email protected]",
},
{
label: "Contributing",
to: "docs/contributing",
},
],
},
{
title: "Packages",
items: [
{
label: "GitHub template",
to: "https://github.com/upptime/upptime",
},
{
label: "Uptime monitor",
to: "https://github.com/upptime/uptime-monitor",
},
{
label: "Status page",
to: "https://github.com/upptime/status-page",
},
{
label: "Graphs generator",
to: "https://github.com/upptime/graphs",
},
],
},
{
title: "Koj open source",
items: [
{
label: "@koj-co on GitHub",
to: "https://github.com/koj-co",
},
{
label: "Koj Engineering Blog",
to: "https://koj.co/engineering",
},
{
label: "Work with Koj",
to: "https://koj.co/careers",
},
{
label: "Koj",
to: "https://koj.co",
},
],
},
],
copyright: `<img alt="Koj" src="https://kojcdn.com/v1593890003/website-v2/logo-white_rrauqe.svg" style="width: 50px; margin: 2.5rem 0"><p>Upptime is an open-source project by <a href="https://koj.co/?utm_source=upptime&utm_medium=footer&utm_campaign=docs">Koj</a>.<br><a href="https://koj.co/?utm_source=upptime&utm_medium=footer&utm_campaign=docs">Furnish your home in style, for as low as CHF175/month →</a></p>`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/upptime/upptime.js.org/blob/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
blog: {
feedOptions: {
type: "all",
},
},
},
],
],
};