-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.mjs
46 lines (45 loc) · 1.33 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
// -*-js-ts-*-
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import starlightImageZoom from 'starlight-image-zoom'
// https://astro.build/config
export default defineConfig({
site: 'https://stratos-linux.github.io',
base: 'StratOS-docs',
plugins: [starlightImageZoom()],
integrations: [
starlight({
plugins: [starlightImageZoom()],
title: 'StratOS Linux',
customCss: process.env.NO_GRADIENTS ? [ './src/styles/_global.css'] : ['./src/styles/landing.css', './src/styles/_global.css'],
// customCss: [ '@fontsource-variable/jetbrains-mono/400.css', '@fontsource-variable/jetbrains-mono/600.css' ],
social: {
github: 'https://github.com/StratOS-Linux/StratOS-iso',
discord: 'https://discord.gg/DVaXRCnCet',
mastodon: 'https://fosstodon.org/@StratOS',
'x.com': 'https://twitter.com/StratOS_Linux',
},
sidebar: [
// {
// label: 'Guides',
// items: [
// // Each item here is one entry in the navigation menu.
// { label: 'Example Guide', link: '/guides/example/' },
// ],
// },
{
label: 'Master tutorial',
autogenerate: { directory: 'guides' },
},
{
label: 'Tools',
autogenerate: { directory: 'tools' },
},
{
label: 'Strata',
autogenerate: { directory: 'strata' },
},
],
}),
],
});