-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathastro.config.mjs
116 lines (115 loc) · 3.28 KB
/
astro.config.mjs
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
import { defineConfig } from "astro/config";
import embeds from "astro-embed/integration";
import starlight from "@astrojs/starlight";
import starlightImageZoom from "starlight-image-zoom";
import starlightBlog from "starlight-blog";
import starlightLinksValidator from "starlight-links-validator";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
export default defineConfig({
site: "https://chefkissinc.github.io",
trailingSlash: "always",
integrations: [
embeds({
services: {
LinkPreview: false,
},
}),
starlight({
defaultLocale: "root",
locales: {
root: { label: "English", lang: "en" },
},
plugins: [
starlightImageZoom(),
starlightBlog({
title: "Newsroom",
prefix: "newsroom",
authors: {
visual: {
name: "Visual Ehrmanntraut",
title: "CEO",
picture: "/Avatars/Visual.png",
url: "https://github.com/VisualEhrmanntraut",
},
},
}),
starlightLinksValidator({
errorOnFallbackPages: false,
errorOnInconsistentLocale: true,
exclude: ["(/*)?/newsroom/"], // TODO: Remove this
}),
],
title: "ChefKiss",
logo: {
src: "~/assets/CKPenguin.svg",
replacesTitle: true,
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4,
},
customCss: ["~/base.css"],
components: {
Head: "~/components/starlight/Head.astro",
MarkdownContent: "~/components/starlight/MarkdownContent.astro",
SocialIcons: "~/components/starlight/SocialIcons.astro",
},
social: {
github: "https://github.com/ChefKissInc",
telegram: "https://t.me/+Bx3MO9Hq8whhNzk9",
},
sidebar: [
{
label: "Installation",
items: [
"guides/hackintosh",
"guides/hackintosh/compatibility",
{
label: "Gathering Files",
items: [
"guides/hackintosh/gathering-files",
"guides/hackintosh/gathering-files/opencore",
{
label: "Installer",
items: [
"guides/hackintosh/gathering-files/installer",
"guides/hackintosh/gathering-files/installer/online",
],
},
"guides/hackintosh/gathering-files/acpi",
"guides/hackintosh/gathering-files/kexts",
],
},
{
label: "Configuration",
badge: "TODO",
items: [
{
label: "Dortania guide",
badge: "Temporary",
link: "https://dortania.github.io/OpenCore-Install-Guide/AMD/zen.html",
},
],
},
],
},
{
label: "Troubleshooting",
badge: "TODO",
collapsed: true,
items: [],
},
],
lastUpdated: true,
editLink: {
baseUrl:
"https://github.com/ChefKissInc/ChefKissInc.github.io/edit/master/",
},
}),
tailwind({
applyBaseStyles: false,
}),
icon(),
],
});