-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
35 lines (34 loc) · 1.16 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
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'NextJudge',
social: {
github: 'https://github.com/withastro/starlight',
},
sidebar: [
{
label: 'Start Here',
items: [
{ label: 'Introduction', link: '/start/intro/' },
{ label: 'Principles', link: '/start/principles/' },
{ label: 'Key Terms', link: '/start/key-terms/' },
{ label: 'Getting Started', link: '/start/getting-started/' },
],
},
{
label: 'Architecture',
items: [
{ label: 'Core Components', link: '/architecture/components/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});