Skip to content

Commit c918d4a

Browse files
authored
Merge pull request #15 from glandjs/develop
chore: change base url
2 parents dc5123a + 300889f commit c918d4a

File tree

1 file changed

+105
-105
lines changed

1 file changed

+105
-105
lines changed

astro.config.mjs

Lines changed: 105 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,197 +1,197 @@
1-
import { defineConfig } from 'astro/config'
2-
import starlight from '@astrojs/starlight'
3-
import tailwind from '@astrojs/tailwind'
1+
import { defineConfig } from "astro/config";
2+
import starlight from "@astrojs/starlight";
3+
import tailwind from "@astrojs/tailwind";
44

55
export default defineConfig({
6-
site: 'https://glandjs.github.io',
7-
base: '/',
6+
site: "https://glandjs.github.io/docs",
7+
base: "/docs/",
88
integrations: [
99
tailwind({
10-
applyBaseStyles: false,
10+
applyBaseStyles: false
1111
}),
1212
starlight({
13-
title: 'Gland',
13+
title: "Gland",
1414
logo: {
15-
src: './src/assets/logo.svg',
16-
alt: 'Gland Documentation',
15+
src: "./src/assets/logo.svg",
16+
alt: "Gland Documentation"
1717
},
1818
social: {
19-
github: 'https://github.com/glandjs/docs',
20-
discord: 'https://discord.gg/glandjs',
21-
npm: 'https://www.npmjs.com/package/@glandjs/core',
19+
github: "https://github.com/glandjs/docs",
20+
discord: "https://discord.gg/glandjs",
21+
npm: "https://www.npmjs.com/package/@glandjs/core"
2222
},
2323
expressiveCode: {
24-
themes: ['github-dark-default'],
24+
themes: ["github-dark-default"],
2525
styleOverrides: {
26-
borderRadius: '0.5rem',
27-
},
26+
borderRadius: "0.5rem"
27+
}
2828
},
29-
customCss: ['@styles/tailwind.css'],
29+
customCss: ["@styles/tailwind.css"],
3030
components: {
31-
Header: '@components/Header.astro',
32-
ContentPanel: '@components/ContentPanel.astro',
33-
PageTitle: '@components/PageTitle.astro',
31+
Header: "@components/Header.astro",
32+
ContentPanel: "@components/ContentPanel.astro",
33+
PageTitle: "@components/PageTitle.astro"
3434
},
3535
head: [
3636
{
37-
tag: 'link',
37+
tag: "link",
3838
attrs: {
39-
rel: 'preconnect',
40-
href: 'https://fonts.googleapis.com',
41-
},
39+
rel: "preconnect",
40+
href: "https://fonts.googleapis.com"
41+
}
4242
},
4343
{
44-
tag: 'link',
44+
tag: "link",
4545
attrs: {
46-
rel: 'preconnect',
47-
href: 'https://fonts.gstatic.com',
48-
crossorigin: 'anonymous',
49-
},
46+
rel: "preconnect",
47+
href: "https://fonts.gstatic.com",
48+
crossorigin: "anonymous"
49+
}
5050
},
5151
{
52-
tag: 'link',
52+
tag: "link",
5353
attrs: {
54-
rel: 'stylesheet',
55-
href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap',
56-
},
54+
rel: "stylesheet",
55+
href: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
56+
}
5757
},
5858
{
59-
tag: 'link',
59+
tag: "link",
6060
attrs: {
61-
rel: 'stylesheet',
62-
href: 'https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap',
63-
},
64-
},
61+
rel: "stylesheet",
62+
href: "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap"
63+
}
64+
}
6565
],
6666
sidebar: [
6767
{
68-
label: 'Introduction',
68+
label: "Introduction",
6969
collapsed: false,
7070
items: [
7171
{
72-
label: 'Getting Started',
73-
link: '/getting-started',
74-
badge: 'New',
72+
label: "Getting Started",
73+
link: "/getting-started",
74+
badge: "New"
7575
},
7676
{
77-
label: 'Installation',
78-
link: '/installation',
77+
label: "Installation",
78+
link: "/installation"
7979
},
8080
{
81-
label: 'Quickstart',
82-
link: '/quickstart',
83-
},
84-
],
81+
label: "Quickstart",
82+
link: "/quickstart"
83+
}
84+
]
8585
},
8686
{
87-
label: 'Core Concepts',
87+
label: "Core Concepts",
8888
collapsed: false,
8989
items: [
9090
{
91-
label: 'Event-Driven Architecture',
92-
link: '/concepts/event-driven',
91+
label: "Event-Driven Architecture",
92+
link: "/concepts/event-driven"
9393
},
9494
{
95-
label: 'Channels',
96-
link: '/concepts/channels',
95+
label: "Channels",
96+
link: "/concepts/channels"
9797
},
9898
{
99-
label: 'Controllers',
100-
link: '/concepts/controllers',
99+
label: "Controllers",
100+
link: "/concepts/controllers"
101101
},
102102
{
103-
label: 'Modules',
104-
link: '/concepts/modules',
105-
},
106-
],
103+
label: "Modules",
104+
link: "/concepts/modules"
105+
}
106+
]
107107
},
108108
{
109-
label: 'Guides',
109+
label: "Guides",
110110
collapsed: true,
111111
items: [
112112
{
113-
label: 'Basic Usage',
114-
link: '/guides/basic-usage',
113+
label: "Basic Usage",
114+
link: "/guides/basic-usage"
115115
},
116116
{
117-
label: 'Dependency Injection',
118-
link: '/guides/dependency-injection',
117+
label: "Dependency Injection",
118+
link: "/guides/dependency-injection"
119119
},
120120
{
121-
label: 'Advanced Features',
122-
link: '/guides/advanced-features',
121+
label: "Advanced Features",
122+
link: "/guides/advanced-features"
123123
},
124124
{
125-
label: 'Best Practices',
126-
link: '/guides/best-practices',
127-
},
128-
],
125+
label: "Best Practices",
126+
link: "/guides/best-practices"
127+
}
128+
]
129129
},
130130
{
131-
label: 'HTTP Integration',
131+
label: "HTTP Integration",
132132
collapsed: true,
133133
items: [
134134
{
135-
label: 'Express Integration',
136-
link: '/http/express',
135+
label: "Express Integration",
136+
link: "/http/express"
137137
},
138138
{
139-
label: 'Fastify Integration',
140-
link: '/http/fastify',
139+
label: "Fastify Integration",
140+
link: "/http/fastify"
141141
},
142142
{
143-
label: 'Custom Integrations',
144-
link: '/http/custom',
145-
},
146-
],
143+
label: "Custom Integrations",
144+
link: "/http/custom"
145+
}
146+
]
147147
},
148148
{
149-
label: 'API Reference',
149+
label: "API Reference",
150150
collapsed: true,
151151
items: [
152152
{
153-
label: 'Core API',
154-
link: '/api/core',
153+
label: "Core API",
154+
link: "/api/core"
155155
},
156156
{
157-
label: 'Utilities',
158-
link: '/api/utilities',
157+
label: "Utilities",
158+
link: "/api/utilities"
159159
},
160160
{
161-
label: 'Configuration',
162-
link: '/api/configuration',
161+
label: "Configuration",
162+
link: "/api/configuration"
163163
},
164164
{
165-
label: 'Decorators',
166-
link: '/api/decorators',
167-
},
168-
],
165+
label: "Decorators",
166+
link: "/api/decorators"
167+
}
168+
]
169169
},
170170
{
171-
label: 'Resources',
171+
label: "Resources",
172172
collapsed: true,
173173
items: [
174174
{
175-
label: 'FAQ',
176-
link: '/resources/faq',
175+
label: "FAQ",
176+
link: "/resources/faq"
177177
},
178178
{
179-
label: 'Examples',
180-
link: '/resources/examples',
179+
label: "Examples",
180+
link: "/resources/examples"
181181
},
182182
{
183-
label: 'Community',
184-
link: '/resources/community',
183+
label: "Community",
184+
link: "/resources/community"
185185
},
186186
{
187-
label: 'Contributing',
188-
link: '/resources/contributing',
189-
},
190-
],
191-
},
187+
label: "Contributing",
188+
link: "/resources/contributing"
189+
}
190+
]
191+
}
192192
],
193193
lastUpdated: true,
194-
pagination: true,
195-
}),
196-
],
197-
})
194+
pagination: true
195+
})
196+
]
197+
});

0 commit comments

Comments
 (0)