-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
116 lines (109 loc) · 2.87 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
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
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
// With JSDoc @type annotations, IDEs can provide config autocompletion
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Proper Crew Docs',
tagline: '',
url: 'https://docs.projecttl.net/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: '/img/favicon.ico',
organizationName: 'propercrew-docs', // Usually your GitHub org/user name.
projectName: 'propercrew-docs', // Usually your repo name.
themeConfig: {
algolia: {
apiKey: '5998fcb17055c73c5f19113ca0b428d1',
indexName: '대단하진 않지만 엄청난걸 검색해보세요!',
// Optional: see doc section below
// Optional: see doc section below
// Optional: Algolia search parameters
// searchParameters: {},
//... other Algolia params
},
navbar: {
title: 'Proper Crew',
logo: {
alt: '',
src: 'img/logo.png',
},
items: [
{
type: 'doc',
docId: 'home/Index',
label: 'Home',
position: 'left'
},
{
type: 'doc',
docId: 'plugins/Index',
label: 'Plugin',
position: 'left'
},
{
type: 'doc',
docId: 'bots/Index',
label: 'Bot',
position: 'left'
},
{
type: 'doc',
docId: 'api/Index',
label: 'API',
position: 'left'
},
{
href: 'https://discord.projecttl.net/',
label: 'Discord',
position: 'right',
},
{
href: 'https://github.com/PROJECT-OPERATOR',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
],
copyright: `Copyright ©${new Date().getFullYear()} Team Project Operator. Licensed under BY-NC-SA, Built with Docusaurus.`,
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),
},
colorMode: {
defaultMode: "dark",
disableSwitch: false,
respectPrefersColorScheme: false,
switchConfig: {
darkIcon: '🌙',
lightIcon: '☀️',
}
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
// Please change this to your repo.
editUrl:
'https://github.com/PROJECT-OPERATOR/propercrew-docs',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
i18n: {
defaultLocale: 'ko',
locales: ['ko'],
},
};