forked from jitsi/handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
171 lines (170 loc) · 4.09 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
module.exports = {
title: "Jitsi Meet",
tagline: "State-of-the-art video conferencing you can self-host.",
url: "https://jitsi.github.io",
baseUrl: "/handbook/",
organizationName: "jitsi",
projectName: "handbook",
favicon: "img/favicon.png",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
scripts: [
"https://kit.fontawesome.com/2f8664b4cd.js",
],
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
showLastUpdateAuthor: false,
showLastUpdateTime: true,
editUrl: "https://github.com/jitsi/handbook/edit/master/",
path: "docs",
sidebarPath: require.resolve("./sidebars.js"),
},
theme: {
customCss: [require.resolve("./src/css/custom.css")],
},
},
],
],
plugins: [
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/docs/category/user-guide',
from: [ '/docs/user-guide', '/docs/user-guide/user-guide-start' ],
},
{
to: '/docs/category/developer-guide',
from: [ '/docs/dev-guide', '/docs/dev-guide/dev-guide-start' ],
},
{
to: '/docs/devops-guide/',
from: '/docs/devops-guide/devops-guide-start',
},
]
}
]
],
themeConfig: {
prism: {
additionalLanguages: ["java", "markdown", "shell", "bash", "gradle", "lua"],
},
algolia: {
appId: 'K2ODL876OV',
apiKey: 'fc233b31ee025aa87cf553bd9e7ce9e9',
indexName: 'jitsi',
},
navbar: {
title: "Jitsi Meet Handbook",
logo: {
src: "img/logo.svg",
},
items: [
{
to: "docs/intro",
label: "Docs",
position: "left",
},
{
to: "docs/category/sdks",
label: "SDKs",
position: "left",
},
{
to: "docs/releases",
label: "Releases",
position: "left",
},
{
href: "https://community.jitsi.org",
label: "Community",
position: "left",
},
{
href: "https://jaas.8x8.vc",
label: "JaaS",
position: "left",
},
{
href: 'https://github.com/jitsi',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
image: "img/undraw_online.svg",
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Introduction",
to: "docs/intro",
},
{
label: "User Guide",
to: "docs/user-guide",
},
{
label: "Developer Guide",
to: "docs/dev-guide",
},
{
label: "Self-Hosting Guide",
to: "docs/devops-guide",
},
],
},
{
title: "Community",
items: [
{
label: "Forum",
href: "https://community.jitsi.org",
},
{
label: "Twitter",
href: "https://twitter.com/jitsinews",
},
],
},
{
title: "More",
items: [
{
label: "Blog",
href: "https://jitsi.org",
},
{
label: "GitHub",
href: "https://github.com/jitsi",
},
{
label: "JaaS: Jitsi as a Service",
href: "https://jaas.8x8.vc"
},
],
},
],
logo: {
alt: "8x8 Footer Logo",
src: "img/8x8-copyright-icon.svg",
href: "https://8x8.com",
},
copyright: `Copyright © 8x8, Inc.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
},
};