@@ -3,65 +3,65 @@ import starlight from "@astrojs/starlight";
3
3
import tailwind from "@astrojs/tailwind" ;
4
4
5
5
export default defineConfig ( {
6
- site : "https://glandjs.github.io" ,
7
- base : "/" ,
6
+ site : "https://glandjs.github.io/docs " ,
7
+ base : "/docs/ " ,
8
8
integrations : [
9
9
tailwind ( {
10
- applyBaseStyles : false ,
10
+ applyBaseStyles : false
11
11
} ) ,
12
12
starlight ( {
13
13
title : "Gland" ,
14
14
logo : {
15
15
src : "./src/assets/logo.svg" ,
16
- alt : "Gland Documentation" ,
16
+ alt : "Gland Documentation"
17
17
} ,
18
18
social : {
19
19
github : "https://github.com/glandjs/docs" ,
20
20
discord : "https://discord.gg/glandjs" ,
21
- npm : "https://www.npmjs.com/package/@glandjs/core" ,
21
+ npm : "https://www.npmjs.com/package/@glandjs/core"
22
22
} ,
23
23
expressiveCode : {
24
24
themes : [ "github-dark-default" ] ,
25
25
styleOverrides : {
26
- borderRadius : "0.5rem" ,
27
- } ,
26
+ borderRadius : "0.5rem"
27
+ }
28
28
} ,
29
29
customCss : [ "@styles/tailwind.css" ] ,
30
30
components : {
31
31
Header : "@components/Header.astro" ,
32
32
ContentPanel : "@components/ContentPanel.astro" ,
33
- PageTitle : "@components/PageTitle.astro" ,
33
+ PageTitle : "@components/PageTitle.astro"
34
34
} ,
35
35
head : [
36
36
{
37
37
tag : "link" ,
38
38
attrs : {
39
39
rel : "preconnect" ,
40
- href : "https://fonts.googleapis.com" ,
41
- } ,
40
+ href : "https://fonts.googleapis.com"
41
+ }
42
42
} ,
43
43
{
44
44
tag : "link" ,
45
45
attrs : {
46
46
rel : "preconnect" ,
47
47
href : "https://fonts.gstatic.com" ,
48
- crossorigin : "anonymous" ,
49
- } ,
48
+ crossorigin : "anonymous"
49
+ }
50
50
} ,
51
51
{
52
52
tag : "link" ,
53
53
attrs : {
54
54
rel : "stylesheet" ,
55
- href : "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" ,
56
- } ,
55
+ href : "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
56
+ }
57
57
} ,
58
58
{
59
59
tag : "link" ,
60
60
attrs : {
61
61
rel : "stylesheet" ,
62
- href : "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap" ,
63
- } ,
64
- } ,
62
+ href : "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap"
63
+ }
64
+ }
65
65
] ,
66
66
sidebar : [
67
67
{
@@ -71,127 +71,127 @@ export default defineConfig({
71
71
{
72
72
label : "Getting Started" ,
73
73
link : "/getting-started" ,
74
- badge : "New" ,
74
+ badge : "New"
75
75
} ,
76
76
{
77
77
label : "Installation" ,
78
- link : "/installation" ,
78
+ link : "/installation"
79
79
} ,
80
80
{
81
81
label : "Quickstart" ,
82
- link : "/quickstart" ,
83
- } ,
84
- ] ,
82
+ link : "/quickstart"
83
+ }
84
+ ]
85
85
} ,
86
86
{
87
87
label : "Core Concepts" ,
88
88
collapsed : false ,
89
89
items : [
90
90
{
91
91
label : "Event-Driven Architecture" ,
92
- link : "/concepts/event-driven" ,
92
+ link : "/concepts/event-driven"
93
93
} ,
94
94
{
95
95
label : "Channels" ,
96
- link : "/concepts/channels" ,
96
+ link : "/concepts/channels"
97
97
} ,
98
98
{
99
99
label : "Controllers" ,
100
- link : "/concepts/controllers" ,
100
+ link : "/concepts/controllers"
101
101
} ,
102
102
{
103
103
label : "Modules" ,
104
- link : "/concepts/modules" ,
105
- } ,
106
- ] ,
104
+ link : "/concepts/modules"
105
+ }
106
+ ]
107
107
} ,
108
108
{
109
109
label : "Guides" ,
110
110
collapsed : true ,
111
111
items : [
112
112
{
113
113
label : "Basic Usage" ,
114
- link : "/guides/basic-usage" ,
114
+ link : "/guides/basic-usage"
115
115
} ,
116
116
{
117
117
label : "Dependency Injection" ,
118
- link : "/guides/dependency-injection" ,
118
+ link : "/guides/dependency-injection"
119
119
} ,
120
120
{
121
121
label : "Advanced Features" ,
122
- link : "/guides/advanced-features" ,
122
+ link : "/guides/advanced-features"
123
123
} ,
124
124
{
125
125
label : "Best Practices" ,
126
- link : "/guides/best-practices" ,
127
- } ,
128
- ] ,
126
+ link : "/guides/best-practices"
127
+ }
128
+ ]
129
129
} ,
130
130
{
131
131
label : "HTTP Integration" ,
132
132
collapsed : true ,
133
133
items : [
134
134
{
135
135
label : "Express Integration" ,
136
- link : "/http/express" ,
136
+ link : "/http/express"
137
137
} ,
138
138
{
139
139
label : "Fastify Integration" ,
140
- link : "/http/fastify" ,
140
+ link : "/http/fastify"
141
141
} ,
142
142
{
143
143
label : "Custom Integrations" ,
144
- link : "/http/custom" ,
145
- } ,
146
- ] ,
144
+ link : "/http/custom"
145
+ }
146
+ ]
147
147
} ,
148
148
{
149
149
label : "API Reference" ,
150
150
collapsed : true ,
151
151
items : [
152
152
{
153
153
label : "Core API" ,
154
- link : "/api/core" ,
154
+ link : "/api/core"
155
155
} ,
156
156
{
157
157
label : "Utilities" ,
158
- link : "/api/utilities" ,
158
+ link : "/api/utilities"
159
159
} ,
160
160
{
161
161
label : "Configuration" ,
162
- link : "/api/configuration" ,
162
+ link : "/api/configuration"
163
163
} ,
164
164
{
165
165
label : "Decorators" ,
166
- link : "/api/decorators" ,
167
- } ,
168
- ] ,
166
+ link : "/api/decorators"
167
+ }
168
+ ]
169
169
} ,
170
170
{
171
171
label : "Resources" ,
172
172
collapsed : true ,
173
173
items : [
174
174
{
175
175
label : "FAQ" ,
176
- link : "/resources/faq" ,
176
+ link : "/resources/faq"
177
177
} ,
178
178
{
179
179
label : "Examples" ,
180
- link : "/resources/examples" ,
180
+ link : "/resources/examples"
181
181
} ,
182
182
{
183
183
label : "Community" ,
184
- link : "/resources/community" ,
184
+ link : "/resources/community"
185
185
} ,
186
186
{
187
187
label : "Contributing" ,
188
- link : "/resources/contributing" ,
189
- } ,
190
- ] ,
191
- } ,
188
+ link : "/resources/contributing"
189
+ }
190
+ ]
191
+ }
192
192
] ,
193
193
lastUpdated : true ,
194
- pagination : true ,
195
- } ) ,
196
- ] ,
194
+ pagination : true
195
+ } )
196
+ ]
197
197
} ) ;
0 commit comments