-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.mjs
61 lines (59 loc) · 1.54 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
57
58
59
60
61
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import react from '@astrojs/react';
import icon from 'astro-icon';
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: 'Annotorious',
customCss: ['./src/index.css'],
expressiveCode: {
styleOverrides: {
borderRadius: '0.25rem'
},
themes: ['nord']
},
social: {
github: 'https://github.com/annotorious/annotorious'
},
sidebar: [{
label: 'Start Here',
items: [{
label: 'Getting Started',
link: 'getting-started'
}, {
label: 'Installation',
slug: 'installation'
}, {
label: 'Migrating from v2.7',
link: 'migration-guide'
}]
}, {
label: 'Guides',
autogenerate: {
directory: 'guides'
}
}, {
label: 'API Reference',
collapsed: true,
autogenerate: {
directory: 'api-reference'
}
}, {
label: 'React',
items: [
{ label: 'Annotating Images', slug: 'react/image-annotation' },
{ label: 'OpenSeadragon and IIIF', slug: 'react/openseadragon-iiif' },
{ label: 'Building Custom Popups', slug: 'react/custom-popups' },
{ label: 'Component Reference', slug: 'react/component-reference' },
{ label: 'Hooks Reference', slug: 'react/hooks-reference' },
],
}, {
label: 'Svelte',
autogenerate: {
directory: 'svelte'
}
}]
}), react(), icon()],
output: "static"
});