-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
85 lines (84 loc) · 2.05 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
import react from "@astrojs/react";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
site: import.meta.env.PROD
? "https://zaneops.dev"
: "https://local.zaneops.dev",
devToolbar: {
enabled: false
},
integrations: [
starlight({
title: "ZaneOps documentation",
logo: {
light: "./src/assets/ZaneOps-SYMBOL-BLACK.svg",
dark: "./src/assets/ZaneOps-SYMBOL-WHITE.svg",
replacesTitle: true
},
editLink: {
baseUrl: "https://github.com/zane-ops/docs/edit/main/"
},
customCss: [
"./src/tailwind.css",
"./src/assets/theme.css",
"./src/assets/fonts/font-face.css"
],
social: {
github: "https://github.com/zane-ops/zane-ops",
twitter: "https://twitter.com/zaneopsdev"
},
components: {
Footer: "./src/components/Footer.astro",
Head: "./src/components/Head.astro"
},
sidebar: [
{
label: "Start here",
items: [
{
label: "Installation and Setup",
slug: "get-started"
},
{
label: "Screenshots",
slug: "screenshots"
}
]
},
{
label: "Development",
items: [
{
label: "Development",
slug: "development/development"
}
]
},
{
label: "API Reference",
items: [
{
label: "Introduction",
slug: "api-reference/introduction"
},
{
label: "Authentication",
slug: "api-reference/authentication"
},
{
label: "OpenAPI reference ↗",
link: "/api-reference/openapi"
}
]
}
]
}),
tailwind({
applyBaseStyles: false
}),
react()
]
});