-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
72 lines (70 loc) · 1.55 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
72 lines (70 loc) · 1.55 KB
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
const config = {
title: '🔥 js-algorithms',
tagline: 'JavaScript Algorithms and Data Structures',
url: 'https://nejcm.github.io',
baseUrl: '/js-algorithms/',
organizationName: 'nejcm',
projectName: 'js-algorithms',
presets: [
[
'classic',
{
docs: {
sidebarPath: './sidebars.js',
editUrl: 'https://github.com/nejcm/js-algorithms/edit/main/',
},
theme: {
customCss: './src/css/custom.css',
},
},
],
],
themeConfig: {
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: false,
},
navbar: {
title: '🔥 js-algorithms',
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Documentation',
},
{
href: 'https://github.com/nejcm/js-algorithms',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Introduction',
to: '/docs/intro',
},
],
},
{
title: 'Community',
items: [
{
label: 'GitHub',
href: 'https://github.com/nejcm/js-algorithms',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Nejc M. Built with Docusaurus.`,
},
},
};
module.exports = config;