-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathastro.config.mjs
56 lines (55 loc) · 1.32 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://docs.trackdayr.com',
integrations: [
starlight({
title: 'TrackDayR Docs',
description: 'Documentation website for TrackDayR about modding and tips.',
logo: {
alt: 'TrackDayR Logo',
replacesTitle: true,
light: './src/assets/logos/TrackDayR-mark-light.svg',
dark: './src/assets/logos/TrackDayR-mark.svg',
},
favicon: 'favicon.ico',
editLink: {
baseUrl: 'https://github.com/trackdayr/docs/edit/main/',
},
social: {
discord: 'https://discord.gg/5wytnM254v',
github: 'https://github.com/trackdayr/docs',
},
sidebar: [
{
label: 'Modding',
items: [
{ label: 'Bike', link: '/modding/bike' },
{ label: 'Helmet', link: '/modding/helmet' },
{
label: 'Skin',
autogenerate: { directory: 'modding/skin' },
},
{
label: 'Tools',
autogenerate: { directory: 'modding/tools' },
},
],
},
{
label: 'Debugging',
autogenerate: { directory: 'debugging' },
},
{
label: 'Miscellaneous',
autogenerate: { directory: 'misc' },
},
{
label: 'API Reference',
autogenerate: { directory: 'api' },
},
],
}),
],
});