This repository has been archived by the owner on Nov 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
astro.config.mjs
79 lines (78 loc) · 1.82 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: "https://docs.teaclient.net",
output: 'static',
integrations: [starlight({
title: "TeaClient Docs",
components: {
SocialIcons: "./src/components/social.astro"
},
favicon: "/favicon.png",
logo: {
src: "./src/assets/Tea_client.webp"
},
lastUpdated: true,
customCss: ["./src/styles/style.css"],
editLink: {
baseUrl: "https://github.com/TeaClientMC/Docs/edit/starlight/"
},
social: {
github: "https://github.com/TeaClientMC/",
discord: "https://discord.gg/aKXRP4WC7P"
},
sidebar: [
{
label: "Deprecation Notice",
link: "/deprecation"
},
{
label: "Guides",
items: [{
label: "Intro",
link: "/guides/intro/"
}, {
label: "Installation",
link: "/guides/install/",
badge: {
text: "Comming Soon!",
variant: "caution"
}
}, {
label: "API Errors",
link: "/guides/apierrors",
badge: {
text: "New",
variant: "tip"
}
}]
}, {
label: "API Endpoints",
autogenerate: {
directory: 'api'
}
}, {
label: "Notices",
autogenerate: {
directory: "notices"
}
}, {
label: "Resources",
items: [{
label: "API URL",
link: "https://api.teaclient.net"
}, {
label: "Roadmap",
link: "https://teaclient.net/roadmap"
}, {
label: "GitHub",
link: "https://teaclient.net/github"
}, {
label: "Discord",
link: "https://teaclient.net/discord"
}]
}]
}), tailwind()]
});