-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathconfig.mts
More file actions
95 lines (88 loc) · 2.62 KB
/
Copy pathconfig.mts
File metadata and controls
95 lines (88 loc) · 2.62 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
import { defineConfig} from 'vitepress'
export default defineConfig({
lang: 'en-US',
title: 'Infrared',
description: 'The Minecraft Reverse Proxy',
cleanUrls: true,
head: [
[
'link',
{
rel: 'icon',
type: 'image/x-icon',
href: '/img/logo.svg',
},
],
],
themeConfig: {
logo: '/img/logo.svg',
nav: [
{
text: 'Features',
items: [
{ text: 'PROXY Protocol', link: '/features/proxy-protocol' },
{ text: 'Rate Limiter', link: '/features/rate-limiter' },
]
},
{
text: 'Config',
items: [
{ text: 'Global', link: '/config/' },
{ text: 'Proxies', link: '/config/proxies' },
{ text: 'CLI & Env Vars', link: '/config/cli-and-env-vars' },
]
},
{
text: 'Donate',
items: [
{ text: 'PayPal', link: 'https://paypal.me/hendrikschlehlein' },
{ text: 'Ko-Fi', link: 'https://ko-fi.com/haveachin' },
{ text: 'Liberapay', link: 'https://liberapay.com/haveachin' },
]
},
],
sidebar: [
{ text: 'Getting Started', link: '/getting-started' },
{ text: 'Community Projects', link: '/community-projects' },
{
text: 'Config',
items: [
{ text: 'Global', link: '/config/' },
{ text: 'Proxies', link: '/config/proxies' },
{ text: 'CLI & Env Vars', link: '/config/cli-and-env-vars' },
],
},
{
text: 'Features',
items: [
{ text: 'PROXY Protocol', link: '/features/proxy-protocol' },
{
text: 'Filters',
link: '/features/filters',
items: [
{ text: 'Rate Limiter', link: '/features/rate-limiter' },
]
}
]
},
{ text: 'Report an Issue', link: 'https://github.com/haveachin/infrared/issues' },
{ text: 'Ask in Discussions', link: 'https://github.com/haveachin/infrared/discussions' },
{ text: 'Join our Discord', link: 'https://discord.gg/r98YPRsZAx' },
{ text: 'Branding', link: '/branding' },
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/haveachin/infrared' },
{ icon: 'discord', link: 'https://discord.gg/r98YPRsZAx' },
],
footer: {
message: 'Released under the <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPL-3.0</a>.',
copyright: 'Copyright © 2019-present Haveachin and Contributors',
},
editLink: {
pattern: 'https://github.com/haveachin/infrared/edit/main/docs/:path'
},
search: {
provider: 'local'
},
}
})