-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
executable file
·47 lines (45 loc) · 1.04 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
const BASE_URL =
process.env.NODE_ENV === 'development'
? '/'
: '/generative-music-with-javascript/'
const siteConfig = {
title: 'Generative Music with JavaScript',
url: 'https://meleyal.github.io',
baseUrl: BASE_URL,
trailingSlash: false,
projectName: 'generative-music-with-javascript',
organizationName: 'meleyal',
favicon: 'img/favicon.png',
themeConfig: {
navbar: {
title: 'Generative Music with JavaScript',
items: [
{
href: 'https://github.com/meleyal/generative-music-with-javascript',
label: 'GitHub',
position: 'right',
},
],
},
footer: {},
colorMode: {
disableSwitch: true,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
sidebarCollapsible: false,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
}
module.exports = siteConfig