-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathastro.config.ts
More file actions
114 lines (113 loc) · 3.11 KB
/
astro.config.ts
File metadata and controls
114 lines (113 loc) · 3.11 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
import starlight from "@astrojs/starlight";
import rehypeShiki from "@shikijs/rehype";
import { defineConfig } from "astro/config";
import rehypeAstroRelativeMarkdownLinks from "astro-rehype-relative-markdown-links";
// https://astro.build/config
export default defineConfig({
site: "https://docs.titaniumnetwork.org",
markdown: {
rehypePlugins: [
[
rehypeAstroRelativeMarkdownLinks,
{
collectionBase: false,
},
],
[
rehypeShiki,
{
inline: "tailing-curly-colon",
themes: {
light: "tokyo-night",
dark: "tokyo-night",
},
},
],
],
},
redirects: {
"/kajigs/caubdns-proxy-editor": "/kajigs/caub#caubdns-proxy-editor",
"/kajigs/caudns": "/kajigs/caub#caudns",
"/kajigs/connection-on-whitelisted-wifi":
"/kajigs/wifi#connect-to-non-whitelisted-networks",
"/kajigs/crosver": "/kajigs/versions#what-versions-can-i-recover-to",
"/kajigs/downgrading": "/kajigs/versions",
"/kajigs/kernverinfo": "/kajigs/versions#what-versions-can-i-recover-to",
"/kajigs/lockdown-browser":
"/kajigs/webviews#eduphoria-lockdown-browser-webview",
"/kajigs/ltmeat": "/kajigs/extensions#ltmeat-v114",
"/kajigs/rootless-unenrollment":
"/kajigs/old-unenroll#rootless-unenrollment-v101",
},
integrations: [
starlight({
title: "Titanium Network",
favicon: "/favicon.png",
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/titaniumnetwork-dev/Oxide-Docs",
},
{
icon: "discord",
label: "Discord",
href: "https://discord.gg/unblock",
},
],
plugins: [],
components: {
Head: "./src/components/MetadataHead.astro",
PageTitle: "./src/components/PageTitle.astro",
},
sidebar: [
{
label: "Guides",
autogenerate: { directory: "guides" },
},
{
label: "Organizations",
autogenerate: { directory: "organizations" },
},
{
label: "Services",
items: [
{
label: "Browsing",
autogenerate: { directory: "services/browsing" },
},
{
label: "WebOS",
autogenerate: { directory: "services/webos" },
},
{
label: "Unblocked Games",
autogenerate: { directory: "services/unblocked-games" },
},
],
},
{
label: "Proxies",
autogenerate: { directory: "proxies" },
},
{
label: "Technologies",
autogenerate: { directory: "technologies" },
},
{
label: "Transports",
autogenerate: { directory: "transports" },
},
{
label: "Kajigs",
autogenerate: { directory: "kajigs" },
},
],
customCss: [
"./src/styles/custom.css",
"@fontsource/raleway/400.css",
"@fontsource/raleway/600.css",
],
}),
],
});