-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathastro.config.mjs
53 lines (52 loc) · 1.56 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'Crecto',
favicon: 'favicon.ico',
head: [
{
tag: 'script',
attrs: {
src: 'https://analytics.watzon.tech/script.js',
'data-website-id': '6fa9c478-7b01-4a2b-88b4-3892e055ad4d',
async: true,
},
},
],
social: {
github: 'https://github.com/Crecto/crecto',
},
sidebar: [
{
label: 'Guides',
items: [
{ label: 'Getting started', link: '/guides/getting-started/' },
{ label: 'Using Repos', link: '/guides/using-repos/' },
{
label: 'Models',
items: [
{ label: 'Schema', link: '/guides/models/schema/' },
{ label: 'Constraints', link: '/guides/models/constraints/' },
{ label: 'Validations', link: '/guides/models/validations/' },
{ label: 'Associations', link: '/guides/models/associations/' },
]
},
{ label: 'Changesets', link: '/guides/changesets/' },
{ label: 'Querying the Database', link: '/guides/querying-the-database/' },
{ label: 'Database Operations', link: '/guides/database-operations/' },
{ label: 'Multi operations and Transactions', link: '/guides/multi-operations-and-transactions/' },
{ label: 'Migrations', link: '/guides/migrations/' },
{ label: 'Logging', link: '/guides/logging/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});