-
Notifications
You must be signed in to change notification settings - Fork 6
/
astro.config.mjs
282 lines (281 loc) · 10.3 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
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
import netlify from "@astrojs/netlify";
// https://astro.build/config
export default defineConfig({
site: "https://athenaos.org/",
output: "hybrid",
adapter: netlify(),
integrations: [
starlight({
title: "Athena OS",
description:
"Athena OS, a new pentesting/cybersecurity Linux distribution.",
components: {
TableOfContents: "./src/components/TOC.astro",
PageTitle: "./src/components/CustomPageTitle.astro",
},
logo: {
light: "/src/assets/athena-light.svg",
dark: "/src/assets/athena-dark.svg",
},
customCss: [
"./src/styles/tailwind.css",
"@fontsource/inter/400.css",
"@fontsource/inter/600.css",
],
components: {
// Override the default `SocialIcons` component.
SocialIcons: "./src/components/custom-navbar-links.astro",
Header: "./src/components/Header.astro",
},
editLink: {
baseUrl: "https://github.com/Athena-OS/athena-docs/tree/main/",
},
lastUpdated: true,
sidebar: [
{
label: "Getting Started",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Manifesto", link: "/en/getting-started/manifesto" },
{ label: "Why Athena OS?", link: "/en/getting-started/athenaos" },
{
label: "Downloading Athena OS",
link: "/en/getting-started/download",
},
],
},
{
label: "Installation",
items: [
// Each item here is one entry in the navigation menu.
{
label: "Installation prepare",
link: "/en/installation/prepare-install",
},
{
label: "Installing as single boot",
link: "/en/installation/install-single-boot",
},
{
label: "Installing as dual boot with Linux or Windows",
link: "/en/installation/install-dual-boot",
},
{
label: "Installing by NixOS",
link: "/en/installation/install-nixos",
},
{
label: "Installing as persistent USB",
link: "/en/installation/install-persistent-usb",
},
{
label: "Installing as guest in VMware",
link: "/en/installation/install-guest-vmware",
},
{
label: "Installing as guest in VirtualBox",
link: "/en/installation/install-guest-virtualbox",
},
{
label: "Installing as guest in Hyper-V",
link: "/en/installation/install-guest-hyperv",
},
{
label: "Installing as guest in QEMU/KVM",
link: "/en/installation/install-guest-qemu",
},
{
label: "Installing as guest in Quickemu",
link: "/en/installation/install-guest-quickemu",
},
{
label: "Installing as guest in Parallels",
link: "/en/installation/install-guest-parallels",
},
{
label: "Installing as guest in UTM",
link: "/en/installation/install-guest-utm",
},
{
label: "Updating Athena OS",
link: "/en/installation/update-athena",
},
{
label: "Aegis Installer TUI",
link: "/en/installation/aegis-tui",
},
],
},
{
label: "Configuration",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Athena Nix", link: "/en/configuration/nix-config" },
// { label: "Calamares Installer", link: "/en/configuration/calamares" },
{ label: "Kernel", link: "/en/configuration/kernel" },
{ label: "Shell", link: "/en/configuration/shell" },
{
label: "Display Manager",
link: "/en/configuration/display-manager",
},
{ label: "GNOME", link: "/en/configuration/gnome" },
{ label: "Bspwm", link: "/en/configuration/bspwm" },
{ label: "KDE Plasma", link: "/en/configuration/kde" },
{ label: "MATE", link: "/en/configuration/mate" },
{ label: "Cinnamon", link: "/en/configuration/cinnamon" },
{ label: "XFCE", link: "/en/configuration/xfce" },
{ label: "Hyprland", link: "/en/configuration/hyprland" },
{ label: "NVIDIA GPU", link: "/en/configuration/nvidia" },
{ label: "RDP", link: "/en/configuration/rdp" },
{ label: "Repositories", link: "/en/configuration/repositories" },
{ label: "Themes", link: "/en/configuration/themes" },
{ label: "Utilities", link: "/en/configuration/utilities" },
],
},
{
label: "Cyber Resources",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Athena Welcome", link: "/en/resources/athena-welcome" },
{
label: "Pentesting Tools",
link: "/en/resources/pentesting-tools",
},
{ label: "Athena Cyber Hub", link: "/en/resources/cyber-hub" },
{
label: "Hack The Box Toolkit",
link: "/en/resources/htb-toolkit",
},
{ label: "PWNage Menu", link: "/en/resources/pwnage-menu" },
{ label: "Blue Team Menu", link: "/en/resources/blueteam-menu" },
{ label: "Red Team Menu", link: "/en/resources/redteam-menu" },
{ label: "Payload to Dock", link: "/en/resources/payload-dock" },
{
label: "Payload Environment Variables",
link: "/en/resources/payload-variables",
},
{
label: "Browser Pentesting Resources",
link: "/en/resources/browser-pentesting",
},
{ label: "NIST Feed", link: "/en/resources/nist-feed" },
{ label: "Devotio", link: "/en/resources/devotio" },
],
},
//{
// label: "Customization",
// items: [
// // Each item here is one entry in the navigation menu.
// { label: "Customizing Shells", link: "/en/customization/shell" },
// { label: "Customizing Display Managers", link: "/en/customization/display-manager" },
// { label: "Customizing Terminal Tools", link: "/en/customization/terminal-tools" },
// ],
//},
{
label: "Containers",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Core Image", link: "/en/containers/core-image" },
{ label: "RDP Image", link: "/en/containers/rdp-image" },
],
},
{
label: "Windows Subsystem for Linux",
items: [
// Each item here is one entry in the navigation menu.
{ label: "WSL Image", link: "/en/wsl/wsl" },
],
},
{
label: "Support",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Troubleshooting", link: "/en/support/troubleshooting" },
],
},
{
label: "Community",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Contribute to Athena", link: "/en/community/contribute" },
{ label: "Getting Help", link: "/en/community/getting-help" },
//{ label: "Official Athena OS Mirrors", link: "/en/community/mirrors" },
{ label: "Style Guide", link: "/en/community/style-guide" },
{
label: "Setting up a Mirror",
link: "/en/community/setting-mirror",
},
{ label: "Submitting Bugs", link: "/en/community/submitting-bugs" },
{
label: "Submitting Themes",
link: "/en/community/submitting-themes",
},
{
label: "Submitting Tools in Nix",
link: "/en/community/submitting-tools-nix",
},
{
label: "Submitting Tools in Arch",
link: "/en/community/submitting-tools-arch",
},
],
},
{
label: "Development",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Testing", link: "/en/development/testing" },
],
},
{
label: "Policy",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Athena OS EULA", link: "/en/policy/eula-policy" },
// { label: "Athena OS Network Service Policy", link: "/en/policy/network-policy" },
{
label: "Athena OS Code of Conduct",
link: "/en/policy/code-of-conduct",
},
{
label: "Athena OS Collaboration Policy",
link: "/en/policy/collaboration-policy",
},
{
label: "Athena OS Open Source Policy",
link: "/en/policy/opensource-policy",
},
{
label: "Athena OS Package Policy",
link: "/en/policy/package-policy",
},
{
label: "Athena OS Pentesting Tools Policy",
link: "/en/policy/tools-policy",
},
{
label: "Athena OS Privacy Policy",
link: "/en/policy/privacy-policy",
},
{
label: "Athena OS Update Policy",
link: "/en/policy/update-policy",
},
{ label: "Athena OS User Policy", link: "/en/policy/user-policy" },
// { label: "Cookie Policy", link: "/en/policy/cookie-policy" },
],
},
],
}),
tailwind({ applyBaseStyles: false }),
],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: {
service: {
entrypoint: "astro/assets/services/sharp",
},
},
});