Skip to content

Commit 6097eeb

Browse files
authored
Merge pull request #17 from glandjs/develop
chore: change url
2 parents d2c4282 + b7e1616 commit 6097eeb

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

astro.config.mjs

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -3,65 +3,65 @@ import starlight from "@astrojs/starlight";
33
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({
1313
title: "Gland",
1414
logo: {
1515
src: "./src/assets/logo.svg",
16-
alt: "Gland Documentation",
16+
alt: "Gland Documentation"
1717
},
1818
social: {
1919
github: "https://github.com/glandjs/docs",
2020
discord: "https://discord.gg/glandjs",
21-
npm: "https://www.npmjs.com/package/@glandjs/core",
21+
npm: "https://www.npmjs.com/package/@glandjs/core"
2222
},
2323
expressiveCode: {
2424
themes: ["github-dark-default"],
2525
styleOverrides: {
26-
borderRadius: "0.5rem",
27-
},
26+
borderRadius: "0.5rem"
27+
}
2828
},
2929
customCss: ["@styles/tailwind.css"],
3030
components: {
3131
Header: "@components/Header.astro",
3232
ContentPanel: "@components/ContentPanel.astro",
33-
PageTitle: "@components/PageTitle.astro",
33+
PageTitle: "@components/PageTitle.astro"
3434
},
3535
head: [
3636
{
3737
tag: "link",
3838
attrs: {
3939
rel: "preconnect",
40-
href: "https://fonts.googleapis.com",
41-
},
40+
href: "https://fonts.googleapis.com"
41+
}
4242
},
4343
{
4444
tag: "link",
4545
attrs: {
4646
rel: "preconnect",
4747
href: "https://fonts.gstatic.com",
48-
crossorigin: "anonymous",
49-
},
48+
crossorigin: "anonymous"
49+
}
5050
},
5151
{
5252
tag: "link",
5353
attrs: {
5454
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+
}
5757
},
5858
{
5959
tag: "link",
6060
attrs: {
6161
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+
}
6565
],
6666
sidebar: [
6767
{
@@ -71,127 +71,127 @@ export default defineConfig({
7171
{
7272
label: "Getting Started",
7373
link: "/getting-started",
74-
badge: "New",
74+
badge: "New"
7575
},
7676
{
7777
label: "Installation",
78-
link: "/installation",
78+
link: "/installation"
7979
},
8080
{
8181
label: "Quickstart",
82-
link: "/quickstart",
83-
},
84-
],
82+
link: "/quickstart"
83+
}
84+
]
8585
},
8686
{
8787
label: "Core Concepts",
8888
collapsed: false,
8989
items: [
9090
{
9191
label: "Event-Driven Architecture",
92-
link: "/concepts/event-driven",
92+
link: "/concepts/event-driven"
9393
},
9494
{
9595
label: "Channels",
96-
link: "/concepts/channels",
96+
link: "/concepts/channels"
9797
},
9898
{
9999
label: "Controllers",
100-
link: "/concepts/controllers",
100+
link: "/concepts/controllers"
101101
},
102102
{
103103
label: "Modules",
104-
link: "/concepts/modules",
105-
},
106-
],
104+
link: "/concepts/modules"
105+
}
106+
]
107107
},
108108
{
109109
label: "Guides",
110110
collapsed: true,
111111
items: [
112112
{
113113
label: "Basic Usage",
114-
link: "/guides/basic-usage",
114+
link: "/guides/basic-usage"
115115
},
116116
{
117117
label: "Dependency Injection",
118-
link: "/guides/dependency-injection",
118+
link: "/guides/dependency-injection"
119119
},
120120
{
121121
label: "Advanced Features",
122-
link: "/guides/advanced-features",
122+
link: "/guides/advanced-features"
123123
},
124124
{
125125
label: "Best Practices",
126-
link: "/guides/best-practices",
127-
},
128-
],
126+
link: "/guides/best-practices"
127+
}
128+
]
129129
},
130130
{
131131
label: "HTTP Integration",
132132
collapsed: true,
133133
items: [
134134
{
135135
label: "Express Integration",
136-
link: "/http/express",
136+
link: "/http/express"
137137
},
138138
{
139139
label: "Fastify Integration",
140-
link: "/http/fastify",
140+
link: "/http/fastify"
141141
},
142142
{
143143
label: "Custom Integrations",
144-
link: "/http/custom",
145-
},
146-
],
144+
link: "/http/custom"
145+
}
146+
]
147147
},
148148
{
149149
label: "API Reference",
150150
collapsed: true,
151151
items: [
152152
{
153153
label: "Core API",
154-
link: "/api/core",
154+
link: "/api/core"
155155
},
156156
{
157157
label: "Utilities",
158-
link: "/api/utilities",
158+
link: "/api/utilities"
159159
},
160160
{
161161
label: "Configuration",
162-
link: "/api/configuration",
162+
link: "/api/configuration"
163163
},
164164
{
165165
label: "Decorators",
166-
link: "/api/decorators",
167-
},
168-
],
166+
link: "/api/decorators"
167+
}
168+
]
169169
},
170170
{
171171
label: "Resources",
172172
collapsed: true,
173173
items: [
174174
{
175175
label: "FAQ",
176-
link: "/resources/faq",
176+
link: "/resources/faq"
177177
},
178178
{
179179
label: "Examples",
180-
link: "/resources/examples",
180+
link: "/resources/examples"
181181
},
182182
{
183183
label: "Community",
184-
link: "/resources/community",
184+
link: "/resources/community"
185185
},
186186
{
187187
label: "Contributing",
188-
link: "/resources/contributing",
189-
},
190-
],
191-
},
188+
link: "/resources/contributing"
189+
}
190+
]
191+
}
192192
],
193193
lastUpdated: true,
194-
pagination: true,
195-
}),
196-
],
194+
pagination: true
195+
})
196+
]
197197
});

src/components/Header.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import { Icon } from '@astrojs/starlight/components';
33
44
const navItems = [
5-
{ name: "Gland_", href: "/help" },
6-
{ name: "documentation", href: "/documentation" },
7-
{ name: "changelog", href: "/changelog" },
8-
{ name: "community", href: "/community" }
5+
{ name: "Gland_", href: "/docs/help" },
6+
{ name: "documentation", href: "/docs/documentation" },
7+
{ name: "changelog", href: "/docs/changelog" },
8+
{ name: "community", href: "/docs/community" }
99
];
1010
---
1111

0 commit comments

Comments
 (0)