-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus-netlify.config.js
265 lines (259 loc) · 9.74 KB
/
docusaurus-netlify.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
/** @type {import('@docusaurus/types').DocusaurusConfig} */
const math = require('remark-math');
const katex = require('rehype-katex');
const {
MailRounded
} = require('@mui/icons-material');
module.exports = {
title: 'The Clarity Project',
tagline: 'Organising machine learning challenges for hearing aid processing',
url: 'https://claritychallenge.github.io/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'claritychallenge', // Usually your GitHub org/user name.
projectName: 'claritychallenge.github.io', // Usually your repo name.
deploymentBranch: "gh-pages",
stylesheets: [{
href: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css',
type: 'text/css',
integrity: 'sha384-AfEj0r4/OFrOo5t7NnNe46zW/tFgW6x/bCJG8FqQCEo3+Aro6EYUG4+cU+KJWu/X',
crossorigin: 'anonymous',
}, "https://fonts.googleapis.com/icon?family=Material+Icons", ],
plugins: [
[require.resolve('docusaurus-lunr-search'), {
indexBaseUrl: true
}], './sitePlugin', [
'@docusaurus/plugin-client-redirects',
{
redirects: [{
to: '/',
from: '/clarity_CC_doc',
}, ],
},
], require.resolve("docusaurus-plugin-image-zoom")
],
themeConfig: {
navbar: {
title: 'Clarity',
hideOnScroll: true,
logo: {
alt: 'Clarity Logo',
src: 'img/logo.png',
},
items: [
{
type: 'dropdown',
label: 'Shortcuts',
position: 'left',
items: [{
type: 'doc',
docId: 'icassp2023/icassp2023_intro',
label: 'I want to learn more about the ICASSP challenge...',
},
{
type: 'doc',
docId: 'icassp2023/icassp2023_download',
label: 'I want to download the data...',
},
{
href: 'https://github.com/claritychallenge/clarity',
label: 'I want to see the code on GitHub...',
},
{
type: 'doc',
docId: 'icassp2023/taking_part/icassp2023_registration',
label: 'I want to register a team...',
},
{
type: 'doc',
docId: 'icassp2023/taking_part/icassp2023_submission',
label: 'I want to submit results...',
},
]
},
{
type: 'dropdown',
label: 'Workshops',
position: 'right',
items: [{
href: 'https://claritychallenge.github.io/clarity2022-CEC2-workshop/',
label: 'Clarity CEC2 2022, Dec',
}, {
href: 'https://claritychallenge.github.io/clarity2022-workshop/',
label: 'Clarity 2022, Jun',
}, {
href: 'https://claritychallenge.github.io/clarity2021-workshop/',
label: 'Clarity 2021',
}
]
},
{
type: 'dropdown',
label: 'Challenges',
position: 'right',
items: [{
type: 'doc',
docId: 'cec3/cec3_intro',
label: 'CEC3',
},
{
type: 'doc',
docId: 'icassp2023/icassp2023_intro',
label: 'ICASSP 2023 Grand Challenge (current)',
},
{
type: 'doc',
docId: 'cec2/cec2_intro',
label: 'CEC2 (workshop in December)',
}, {
type: 'doc',
docId: 'cpc1/cpc1_intro',
label: 'CPC1',
}, {
type: 'doc',
docId: 'cec1/cec1_intro',
label: 'CEC1',
}, {
to: '/timeline',
label: 'Future Challenges',
},
]
},
{
type: 'dropdown',
label: 'Software',
position: 'right',
items: [{
to: 'tutorials',
label: 'Tutorials',
}, {
href: 'https://github.com/claritychallenge/clarity',
label: 'GitHub',
}, ]
},{
type: 'doc',
docId: 'learning/learning_intro',
label: 'Learning',
position: 'right',
},
{
type: 'dropdown',
label: 'About Us',
position: 'right',
items: [{
to: '/about/',
label: 'About Us',
}, {
to: '/contact/',
label: 'Contact Us',
}, {
to: '/timeline',
label: 'Project timeline',
}, ]
}, {
to: '/blog/',
label: 'Blog',
position: 'right'
},
],
},
footer: {
style: 'dark',
links: [{
title: 'Docs',
items: [{
label: 'CEC3 Documentation',
to: '/docs/cec3/cec3_intro/',
}, {
label: 'CEC2 Documentation',
to: '/docs/cec2/cec2_intro/',
}, {
label: 'CPC1 Documentation',
to: '/docs/cpc1/cpc1_intro/',
}, {
label: 'CEC1 Documentation',
to: '/docs/cec1/cec1_intro/',
}, {
label: 'CASSP 2023 Documentation',
to: '/docs/icassp2023/icassp2023_intro/',
}, ],
},
{
title: 'Community',
items: [{
label: 'The Clarity Project',
href: 'http://claritychallenge.org',
},
{
label: 'Clarity Google Group',
href: 'https://groups.google.com/g/clarity-challenge',
},
{
label: 'Email Us',
href: 'mailto:[email protected]'
}
],
},
{
title: 'More',
items: [{
label: 'Challenge Updates',
to: '/blog/',
},
{
label: 'GitHub',
href: 'https://github.com/claritychallenge/clarity',
}
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} The Clarity Team. Built with Docusaurus.`,
},
zoom: {
selector: '.markdown img',
config: {
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
background: {
light: 'rgb(255, 255, 255)',
dark: 'rgb(50, 50, 50)'
}
}
}
},
presets: [
[
'@docusaurus/preset-classic',
{
googleAnalytics: {
trackingID: 'UA-198878187-1',
// Optional fields.
anonymizeIP: true, // Should IPs be anonymized?
},
docs: {
sidebarPath: require.resolve('./sidebars.js'),
remarkPlugins: [require('mdx-mermaid'), math],
rehypePlugins: [
[katex, {
strict: false
}]
],
// Please change this to your repo.
},
blog: {
showReadingTime: true,
// Please change this to your repo.
blogTitle: 'Clarity Blog',
blogDescription: 'News and updates about our Challenges and Workshops',
postsPerPage: 'ALL',
blogSidebarTitle: 'Recent posts',
blogSidebarCount: 10,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};