-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
105 lines (104 loc) · 2.51 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: 'https://embedded.js.org/',
integrations: [starlight({
title: 'ECMA-419 Docs',
social: {
github: 'https://github.com/ecmatc53/docs'
},
editLink: {
baseUrl: "https://github.com/ecmatc53/docs/edit/main/"
},
customCss: [
'./src/styles/tailwind.css',
],
favicon: "/favicon.png",
head: [
{
tag: "link",
attrs: {
rel: "icon",
href: "/favicon.ico",
sizes: "32x32",
}
}
],
sidebar: [{
label: 'API',
items: [{
label: "Overview",
link: "/api/"
}, {
label: "Base Class",
link: "/api/base-class"
}, {
label: "IO Class",
autogenerate: {
directory: "/api/io-class"
},
collapsed: true
}, {
label: "IO Provider Class",
link: "/api/io-provider-class"
}, {
label: "Peripheral Class",
link: "/api/peripheral-class"
}, {
label: "Sensor Class",
autogenerate: {
directory: "/api/sensor-class"
},
collapsed: true
}, {
label: "Display Class",
link: "/api/display-class"
}, {
label: "Real Time Clock Class",
link: "/api/real-time-clock-class"
}, {
label: "Network Interface Class",
autogenerate: {
directory: "/api/network-interface-class"
},
collapsed: true
}, {
label: "DNS Resolver Class",
link: "/api/dns-resolver-class"
}, {
label: "NTP Client Class",
link: "/api/ntp-client-class"
}, {
label: "HTTP Client Class",
link: "/api/http-client-class"
}, {
label: "HTTP Server Class",
link: "/api/http-server-class"
}, {
label: "WebSocket Client Class",
link: "/api/websocket-client-class"
}, {
label: "MQTT Client Class",
link: "/api/mqtt-client-class"
}, {
label: "Host Provider",
link: "/api/host-provider"
}, {
label: "Provenance Sensor Class",
link: "/api/provenance-sensor-class"
}]
}, {
label: 'Guides',
autogenerate: {
directory: 'guides'
}
}, {
label: 'Glossary',
link: "/glossary"
}]
}), tailwind({
applyBaseStyles: false
})]
});