-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
72 lines (72 loc) · 1.87 KB
/
docusaurus.config.js
File metadata and controls
72 lines (72 loc) · 1.87 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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: '도전하는 개발자',
tagline: '매일 조금씩이라도 앞으로 나아가자',
url: 'https://minkukjo.github.io',
baseUrl: '/study/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.png',
organizationName: 'minkukjo', // Usually your GitHub org/user name.
projectName: 'study', // Usually your repo name.
themeConfig: {
algolia: {
apiKey: 'bd35556da6870210532a574a1258884a',
indexName: 'harry',
appId: 'R6WS6DHCQH'
// contextualSearch: true
},
colorMode: {
defaultMode: 'dark'
},
navbar: {
title: 'Home',
items: [
{
type: 'doc',
docId: 'intro',
position: 'left',
label: 'Docs'
},
{ to: '/blog', label: 'Blog', position: 'left' },
{ to: '/about', label: 'About', position: 'left' },
{
href: 'https://github.com/minkukjo',
label: 'GitHub',
position: 'right'
},
{
href: 'https://minkukjo.github.io/',
label: 'Blog',
position: 'right'
}
]
},
prism: {
additionalLanguages: ['java', 'kotlin']
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} Harry's Study, Inc. Built with Docusaurus.`
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/minkukjo/study/edit/master/',
showLastUpdateTime: true
},
blog: {
showReadingTime: true,
editUrl: 'https://github.com/minkukjo/study/edit/master/'
},
theme: {
customCss: require.resolve('./src/css/custom.css')
}
}
]
]
}