-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
88 lines (86 loc) · 2.71 KB
/
docusaurus.config.js
File metadata and controls
88 lines (86 loc) · 2.71 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// @ts-check
const theme = require('prism-react-renderer/themes/nightOwlLight')
const darkTheme = require('prism-react-renderer/themes/nightOwl')
const sidebarPath = require.resolve('./src/utils/sidebar.js')
const customCss = require.resolve('./src/styles/custom.css')
module.exports = {
title: 'KB2ABot Docs',
tagline: 'All the docs you need to know about KB2ABot.',
url: 'https://kb2abot-docs.netlify.app/',
baseUrl: '/',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
favicon: 'icons/favicon.ico',
organizationName: 'kb2ateam',
projectName: 'kb2abot-docs',
staticDirectories: ['public'],
presets: [
[
'classic',
{
docs: {
sidebarPath,
editUrl:
'https://github.com/kb2ateam/kb2abot-docs/tree/main/',
},
theme: {
customCss,
},
sitemap: {
changefreq: 'weekly',
priority: 0.8,
},
},
],
],
themeConfig: {
metadata: [{ name: 'keywords', content: 'kb2abot' }],
navbar: {
title: 'KB2ABot Docs',
hideOnScroll: true,
logo: {
alt: 'KB2ABot Docs',
src: 'icons/logo.svg',
},
items: [
{
type: 'doc',
docId: 'about',
label: 'Documentation',
position: 'right',
},
{
type: 'dropdown',
label: 'Community',
position: 'right',
items: [
{
label: 'Official Website',
href: 'https://kb2atool.com',
},
{
label: 'Facebook Page',
href: 'https://www.facebook.com/KB2A',
},
{
label: 'Facebook Group',
href: 'https://www.facebook.com/groups/KB2A.Team',
},
{
label: 'YouTube',
href: 'https://www.youtube.com/c/KB2ATeam',
},
{
label: 'GitHub',
href: 'https://github.com/kb2ateam',
},
],
},
],
},
prism: {
theme,
darkTheme,
},
},
}