-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
117 lines (115 loc) · 2.77 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import cloudflare from "@astrojs/cloudflare";
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: 'Docs',
customCss: [
// Path to your custom CSS file, starting with /
'/src/styles/custom.css'],
social: {
github: 'https://github.com/withastro/starlight'
},
sidebar: [
{
label: 'Start',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Introduction',
link: '/start/introduction'
},
{
label: 'How to install?',
link: '/start/how_to_install'
},
{
label: 'How to add a data feed?',
link: '/start/how_to_add_a_feed'
},
{
label: 'Architecture',
link: '/start/architecture'
}
]
},
{
label: 'Offering a data feed',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'For monitoring',
link: '/data_feeds/for_monitoring'
},
{
label: 'For steering',
link: '/data_feeds/for_steering'
},
{
label: 'Sharing service areas',
link: '/data_feeds/service_areas'
}
]
},
{
label: 'Using the API\'s',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Getting started',
link: '/api_docs/getting_started'
}, {
label: 'Get API key',
link: '/api_docs/get_apikey'
}
]
},
{
label: 'Service areas API',
items: [
{
label: 'Service areas',
link: '/api_docs/service_areas'
}
]
},
{
label: 'Microhubs API',
items: [
{
label: 'Microhubs',
link: '/api_docs/microhubs'
}
]
},
{
label: 'Zone statistics API',
items: [
{
label: 'Zone statistics',
link: '/api_docs/zone_statistics'
}, {
label: 'Zone statistics example',
link: '/api_docs/zone_statistics_example'
}
]
},
{
label: 'Parkeertelling API',
items: [
{
label: 'Parkeertelling',
link: '/api_docs/parkeertelling'
}
]
}
]
})],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: {
service: {
entrypoint: 'astro/assets/services/sharp'
}
},
});