-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathastro.config.mjs
62 lines (60 loc) · 1.61 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
import { defineConfig } from 'astro/config';
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
server: {
host: true
},
site: 'https://www.azuracast.com',
vite: {
ssr: {
noExternal: ['bootstrap', 'roboto-font']
}
},
integrations: [
starlight({
title: 'AzuraCast',
logo: {
src: './src/images/logo.svg'
},
favicon: '/img/logo.svg',
customCss: [
'./src/scss/starlight.scss'
],
social: {
discord: 'https://discord.gg/azuracast',
github: 'https://github.com/azuracast/azuracast',
},
editLink: {
baseUrl: 'https://github.com/azuracast/azuracast.com/tree/main',
},
sidebar: [
{ label: 'Home', link: '/' },
{ label: 'About AzuraCast', link: '/docs' },
{ label: 'Live Demo', link: '/docs/live-demo'},
{ label: 'Install AzuraCast', link: '/docs/getting-started/installation' },
{ label: 'Update AzuraCast', link: '/docs/getting-started/updates' },
{
label: 'Help',
autogenerate: { directory: 'docs/help' },
},
{
label: 'User Guide',
autogenerate: { directory: 'docs/user-guide' }
},
{
label: 'Administrator Guide',
autogenerate: { directory: 'docs/administration' }
},
{
label: 'Contribute',
autogenerate: { directory: 'docs/contribute' },
},
{
label: 'For Developers',
autogenerate: { directory: 'docs/developers'}
}
],
})
]
});