-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
56 lines (55 loc) · 1.4 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';
import markdoc from '@astrojs/markdoc';
// https://astro.build/config
export default defineConfig({
site: 'https://threadsnappers.github.io',
base: '/advent-of-code-cpp/',
integrations: [
markdoc(),
starlight({
title: 'Threadsnappers',
editLink: {
baseUrl: 'https://github.com/Threadsnappers/advent-of-code-kotlin/edit/main/',
},
social: {
github: 'https://github.com/Threadsnappers/advent-of-code-kotlin',
discord: 'https://discord.gg/NuKDmRUPRm'
},
sidebar: [
{
label: 'AoC 2022',
autogenerate: { directory: 'aoc2022'}
},
{
label: 'AoC 2021',
autogenerate: { directory: 'aoc2021'}
},
{
label: 'AoC 2020',
autogenerate: { directory: 'aoc2020'}
},
{
label: 'AoC 2019',
autogenerate: { directory: 'aoc2019'}
},
{
label: 'AoC 2018',
autogenerate: { directory: 'aoc2018'}
},
{
label: 'AoC 2017',
autogenerate: { directory: 'aoc2017'}
},
{
label: 'AoC 2016',
autogenerate: { directory: 'aoc2016'}
},
{
label: 'AoC 2015',
autogenerate: { directory: 'aoc2015'}
},
],
}),
],
});