-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
78 lines (77 loc) · 1.98 KB
/
astro.config.mjs
File metadata and controls
78 lines (77 loc) · 1.98 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://cms-docs.binaryfrost.net',
integrations: [
starlight({
title: 'SnowCMS',
tableOfContents: {
maxHeadingLevel: 4
},
logo: {
src: './src/assets/snowcms.png',
replacesTitle: true
},
social: {
github: 'https://github.com/Binaryfrost/SnowCMS',
email: 'https://binaryfrost.net/contact/'
},
head: [
{
// <script async data-website-id={websiteId} data-host-url={api} src={src} {...props}></script>
tag: 'script',
attrs: {
async: true,
src: 'https://cdn.websitestatic.com/umami/umami.js',
'data-website-id': '21148965-4071-43dd-af7d-2b5309fc4ffa',
'data-host-url': 'https://umami.binaryfrost.net',
'data-domains': 'cms-docs.binaryfrost.net'
}
}
],
favicon: '/icon.png',
sidebar: [
{
label: 'User Guide',
items: [
'user/getting-started',
'user/glossary',
'user/websites',
'user/collections',
'user/collection-entries',
'user/media',
'user/user',
'user/api'
]
},
{
label: 'Inputs',
autogenerate: {
directory: 'inputs'
}
},
{
label: 'Admin Guide',
collapsed: true,
items: [
'admin/installation',
'admin/project-structure',
'admin/configuration',
'admin/cli-commands',
'admin/package-exports',
{
label: 'Plugins',
autogenerate: { directory: 'admin/plugins' }
},
{
label: 'Reference',
autogenerate: { directory: 'admin/reference' }
}
]
},
],
}),
],
});