-
-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
223 lines (222 loc) · 5.94 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
223 lines (222 loc) · 5.94 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
const XSvg =
'<svg style="fill: #000000; vertical-align: middle;" width="14" height="14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path></svg>';
module.exports = {
title: 'netboot.xyz',
tagline: 'your favorite operating systems in one place',
url: 'https://netboot.xyz',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'netbootxyz',
projectName: 'netboot.xyz',
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'warn',
},
},
staticDirectories: ['static'],
clientModules: [require.resolve('./src/clientModules/gtagFallback.js')],
themes: ['@docusaurus/theme-mermaid'],
themeConfig: {
metadata: [
{
name: 'keywords',
content:
'ipxe, netbootxyz, pxe, linux, os, operating system, install, installer, netboot, netboot.xyz, network boot, tftp, uefi',
},
{
name: 'description',
content:
'Network boot your favorite operating systems, installers and utilities from one menu over the network with iPXE',
},
{name: 'author', content: 'netboot.xyz team'},
{property: 'og:type', content: 'website'},
{
property: 'og:image',
content: 'https://netboot.xyz/img/nbxyz_logo_name.png',
},
{name: 'twitter:card', content: 'summary_large_image'},
{name: 'twitter:site', content: '@netbootxyz'},
],
prism: {
additionalLanguages: [
'bash',
'yaml',
'json',
'nginx',
'ini',
'powershell',
'python',
],
},
docs: {
sidebar: {
hideable: true,
},
},
docsSideNavCollapsible: true,
image: 'img/nbxyz_logo_name.png',
mermaid: {
theme: {light: 'neutral', dark: 'dark'},
},
announcementBar: {
id: 'announcementBar-1', // Increment on change
content: `If you like netboot.xyz, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/netbootxyz/netboot.xyz">GitHub</a>⭐️, follow us on <a target="_blank" rel="noopener noreferrer" href="https://x.com/netbootxyz">${XSvg}</a> and join our <a target="_blank" rel="noopener noreferrer" href="https://discord.gg/An6PA2a">Discord</a>!`,
},
colorMode: {
defaultMode: 'dark',
respectPrefersColorScheme: true,
disableSwitch: false,
},
algolia: {
appId: 'BMY28LDVW4',
apiKey: '51b51a157c47742003b8943f2c5acc09',
indexName: 'netboot',
contextualSearch: true,
searchParameters: {
facetFilters: [],
},
searchPagePath: 'search',
},
navbar: {
title: 'netboot.xyz',
logo: {
alt: 'netboot.xyz',
src: 'img/nbxyz-logo.svg',
srcDark: 'img/nbxyz-logo-dark.svg',
},
items: [
{
to: 'docs',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{
to: 'downloads',
activeBasePath: 'downloads',
label: 'Downloads',
position: 'left',
},
{
to: 'blog',
label: 'Blog',
position: 'left',
},
{
href: 'https://store.netboot.xyz',
label: 'Store',
position: 'left',
},
{
href: 'https://github.com/sponsors/netbootxyz',
label: 'Donate',
position: 'left',
},
{
href: 'https://github.com/netbootxyz/netboot.xyz',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Documentation',
to: 'docs',
},
{
label: 'Downloads',
to: 'downloads',
},
{
label: 'Blog',
to: 'blog',
},
],
},
{
title: 'Community',
items: [
{
label: 'Discord',
href: 'https://discord.gg/An6PA2a',
},
{
label: 'Discussions',
href: 'https://github.com/orgs/netbootxyz/discussions',
},
{
label: 'X',
href: 'https://x.com/netbootxyz',
},
],
},
{
title: 'More',
items: [
{
label: 'Donate',
href: 'https://opencollective.com/netbootxyz/donate',
},
{
label: 'GitHub',
href: 'https://github.com/netbootxyz/netboot.xyz',
},
{
label: 'Status',
href: 'https://status.netboot.xyz',
},
{
label: 'Store',
href: 'https://store.netboot.xyz',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} netboot.xyz`,
},
},
plugins: [
[
'@docusaurus/plugin-ideal-image',
{
quality: 70,
max: 1030,
min: 640,
steps: 2,
disableInDev: false,
},
],
],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/netbootxyz/netboot.xyz-docs/edit/master/',
},
blog: {
showReadingTime: true,
editUrl:
'https://github.com/netbootxyz/netboot.xyz-docs/edit/master/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
trackingID: 'G-VBSC8VX50S',
},
},
],
],
};