-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
111 lines (110 loc) · 4.15 KB
/
Copy pathastro.config.mjs
File metadata and controls
111 lines (110 loc) · 4.15 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightThemeGalaxy from "starlight-theme-galaxy";
import mermaid from "astro-mermaid";
export default defineConfig({
// site and base are set via CLI args in CI (from actions/configure-pages)
integrations: [
// Must be listed before starlight: astro-mermaid registers remark/rehype
// plugins that have to see ```mermaid fences before Starlight processes
// the markdown.
mermaid({
// Follows Starlight's light/dark toggle via the data-theme attribute.
autoTheme: true,
}),
starlight({
title: "Bifrost Proxy",
description: "A Go-based proxy system with client-server architecture, supporting WireGuard/OpenVPN tunnels, domain-based routing, and multiple authentication modes",
plugins: [starlightThemeGalaxy()],
// Without this Starlight emits its default /favicon.svg, which this site
// does not ship - a 404 on every page.
favicon: "/logo.svg",
customCss: ["./src/styles/custom.css"],
social: [
{ icon: "github", label: "GitHub", href: "https://github.com/rennerdo30/bifrost-proxy" },
],
sidebar: [
{ label: "Home", slug: "index" },
{ label: "Getting Started", slug: "getting-started" },
{
label: "Configuration",
items: [
{ label: "Overview", slug: "configuration" },
{ label: "Backends", slug: "backends" },
{ label: "VPN Providers", slug: "vpn-providers" },
{ label: "Authentication", slug: "authentication" },
{ label: "Advanced Authentication", slug: "configuration/authentication" },
{ label: "VPN Mode", slug: "vpn-mode" },
{ label: "Mesh Networking", slug: "mesh-networking" },
{ label: "HTTP Cache", slug: "cache" },
],
},
{
label: "Clients",
items: [
{ label: "Desktop Client", slug: "desktop-client" },
{ label: "Mobile Client", slug: "mobile-client" },
],
},
{
label: "Features",
items: [
{ label: "Traffic Debugging", slug: "features/traffic-debugging" },
],
},
{ label: "Deployment", slug: "deployment" },
{
label: "Usage",
items: [
{ label: "Client CLI Reference", slug: "usage/cli-reference" },
],
},
{
label: "Operations",
items: [
{ label: "CLI Reference", slug: "cli-reference" },
{ label: "Monitoring", slug: "monitoring" },
{ label: "Security", slug: "security" },
],
},
{
label: "Troubleshooting",
items: [
{ label: "Overview", slug: "troubleshooting" },
{ label: "Connection Issues", slug: "troubleshooting/connections" },
{ label: "Performance", slug: "troubleshooting/performance" },
{ label: "Authentication", slug: "troubleshooting/authentication" },
{ label: "VPN & Tunnels", slug: "troubleshooting/vpn-tunnels" },
{ label: "Diagnostics & Logs", slug: "troubleshooting/diagnostics" },
{ label: "FAQ", slug: "troubleshooting/faq" },
],
},
{
label: "API Reference",
items: [
{ label: "Overview", slug: "api" },
{ label: "Server API", slug: "api/server" },
{ label: "Client API", slug: "api/client" },
{ label: "WebSocket API", slug: "api/websocket" },
{ label: "Authentication", slug: "api/authentication" },
{ label: "Rate Limiting", slug: "api/rate-limiting" },
{ label: "OpenAPI Specification", slug: "api/openapi" },
],
},
{
label: "Internals",
items: [
{ label: "Frame Processing", slug: "internals/frame-processing" },
],
},
{
label: "Development",
items: [
{ label: "Contributing", slug: "contributing" },
{ label: "Changelog", slug: "changelog" },
],
},
],
}),
],
});