-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
58 lines (58 loc) · 1.54 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
module.exports = {
title: "Cracking JavaScript",
tagline: "The ultimate resource to prepare for JavaScript Interviews",
url: "https://your-docusaurus-test-site.com",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "abhishekjakhar",
projectName: "cracking-javascript",
themeConfig: {
prism: {
defaultLanguage: "javascript",
theme: require("prism-react-renderer/themes/nightOwl"),
darkTheme: require("prism-react-renderer/themes/nightOwl"),
},
navbar: {
title: "Cracking JavaScript",
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Questions",
position: "left",
},
{
href: "https://github.com/abhishekjakhar/cracking-javascript",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "light",
copyright: `Copyright © ${new Date().getFullYear()} Cracking JavaScript`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/abhishekjakhar/cracking-javascript/edit/main",
},
blog: {
showReadingTime: true,
editUrl:
"https://github.com/abhishekjakhar/cracking-javascript/edit/main/blog/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};