-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
131 lines (131 loc) · 4.42 KB
/
docusaurus.config.js
File metadata and controls
131 lines (131 loc) · 4.42 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
module.exports = {
title: 'Discord4J',
tagline:
'A reactive, modular, and performant REST/WS wrapper for the official Discord Bot API, built for the JVM ecosystem.',
url: 'https://docs.discord4j.com/',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'Discord4J',
projectName: 'Discord4J',
plugins: ['docusaurus-tailwindcss-loader'],
trailingSlash: false,
themeConfig: {
algolia: {
appId: 'LDN5ZQ6E5K',
apiKey: '136b3dfe329c09c3f3bf1da87e6aab89',
indexName: 'discord4j',
contextualSearch: false,
ignoreCanonicalTo: true,
},
navbar: {
title: 'Discord4J',
logo: {
alt: 'Discord4J Logo',
src: 'img/logo.svg',
},
// items: [
// {
// to: 'docs/',
// activeBasePath: 'docs',
// label: 'Docs',
// position: 'left',
// },
// { to: 'blog', label: 'Blog', position: 'left' },
// {
// href: 'https://github.com/Discord4J/Discord4J',
// label: 'GitHub',
// position: 'right',
// },
// ],
},
prism: {
theme: require('./themes/darcula'),
additionalLanguages: ['groovy', 'java', 'scala']
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Discord4J Docs',
to: '/',
},
{
label: 'Javadocs',
href: 'https://javadoc.io/doc/com.discord4j/discord4j-core',
},
],
},
{
title: 'Resources',
items: [
{
label: 'GitHub',
to: 'https://github.com/Discord4J/Discord4J',
},
{
label: 'Reactor Reference Guide',
href: 'https://projectreactor.io/docs/core/release/reference/',
},
{
label: 'Discord API',
href: 'https://discord.com/developers/docs/intro',
},
],
},
{
title: 'Community',
items: [
{
label: 'Discord',
href: 'https://discord.gg/d4j',
},
{
html: `
<a href="https://www.netlify.com">
<img
src="https://www.netlify.com/assets/badges/netlify-badge-color-accent.svg"
alt="Deploys by Netlify"
/>
</a>
`,
},
],
},
],
copyright: `Copyright © 2015 - ${new Date().getFullYear()} Discord4J - Licensed under LGPLv3.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/Discord4J/documentation/edit/master/',
showLastUpdateTime: true,
},
// blog: {
// showReadingTime: true,
// editUrl: 'https://github.com/Discord4J/documentation/edit/master/',
// },
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'UA-100029628-1',
anonymizeIP: true,
},
},
],
],
"markdown": {
hooks: {
onBrokenMarkdownLinks: 'warn',
},
},
}