-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
185 lines (184 loc) · 4.72 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
179
180
181
182
183
184
185
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
module.exports = {
title: "Plug’n'Play stack for testing of speed and monitoring your web application from user perspective.",
tagline: "Your browser is a small infrastructure and we know a lot of information that browser hides.",
url: 'https://canarytrace.com/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'Canarytrace', // Usually your GitHub org/user name.
projectName: 'Smoke', // Usually your repo name.
themeConfig: {
googleAnalytics: {
trackingID: 'UA-54326167-6',
anonymizeIP: true,
},
colorMode: {
defaultMode: 'light',
disableSwitch: true,
},
navbar: {
title: 'Canarytrace',
logo: {
alt: 'Canarytrace',
src: 'img/log-canary.svg',
},
items: [
{
type: 'doc',
docId: 'features/overview',
label: 'Features',
position: 'left',
},
{
type: 'doc',
docId: 'features/dashboards',
label: 'Dashboards',
position: 'left',
},
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{
type: 'doc',
docId: 'references/releases',
label: 'Release notes',
position: 'right',
},
{
href: 'https://canarytrace.medium.com/',
label: 'Blog',
position: 'right'
},
{
type: 'doc',
docId: 'support/contactus',
label: 'Support',
position: 'right'
},
{
href: 'https://twitter.com/canarytrace',
position: 'right',
className: 'header-twitter-link',
'aria-label': 'Twitter profile',
},
{
href: 'https://bit.ly/tt-discord',
position: 'right',
className: 'header-chat-link',
'aria-label': 'Discord chat server',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Learn',
items: [
{
label: 'Why Canarytrace?',
to: 'docs/',
},
{
label: 'Get started',
to: 'docs/canary/start',
},
{
label: 'Webinars',
to: 'docs/media/webinars',
},
{
label: 'Newsroom',
to: 'docs/news/what-is-web-perf',
}
],
},
{
title: 'Community',
items: [
{
label: 'Issues',
href: 'https://github.com/canarytrace/documentation/issues/new/choose',
},
{
label: 'Twitter',
href: 'https://twitter.com/canarytrace',
},
{
label: 'Discord',
href: 'https://bit.ly/tt-discord',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
href: 'https://canarytrace.medium.com/',
}
],
},
{
title: 'About Us',
// Please do not remove the privacy and terms, it's a legal requirement.
items: [
{
label: 'Our team',
to: 'people',
},
{
label: 'Events',
href: 'https://www.meetup.com/ProfessionalTesting/',
},
{
label: 'Subscribe',
to: 'docs/support/subscribe'
}
],
},
],
logo: {
alt: 'Canarytrace',
src: 'img/logo-canary-footer.png',
href: 'https://canarytrace.com/',
},
// Please do not remove the credits, help to publicize Docusaurus :)
copyright: `Copyright © ${new Date().getFullYear()} Canarytrace.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
]
};