-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
80 lines (78 loc) · 2.11 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
import { defineConfig } from "astro/config";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: "https://supso.co",
integrations: [
react(),
tailwind({
applyBaseStyles: false,
}),
starlight({
title: "Supso Docs",
titleDelimiter: "-",
customCss: ["./src/starlight.css"],
sidebar: [
{ label: "Welcome", link: "/docs" },
{
label: "Getting started",
items: [
{
label: "Create Account",
link: "/docs/getting-started/create-account",
},
{
label: "Create Project",
link: "/docs/getting-started/create-project",
},
],
},
{
label: "Features",
items: [
{
label: "Event tracking",
link: "/docs/features/event-tracking",
},
{
label: "Kanban boards",
link: "/docs/features/kanban-boards",
},
{
label: "Feature flags",
link: "/docs/features/feature-flags",
},
{
label: "Playground",
link: "/docs/features/playground",
},
],
},
{ label: "API Reference", link: "/docs/api-reference" },
{
label: "SDKs",
items: [{ label: "TypeScript", link: "/docs/sdks/typescript" }],
},
{
label: "Integrations",
items: [
{ label: "Webhooks", link: "/docs/integrations/webhooks" },
{ label: "RSS Feed", link: "/docs/integrations/rss" },
],
},
{
label: "Self-hosting",
items: [
{ label: "Docker Image", link: "/docs/self-hosting/docker" },
{ label: "Railway", link: "/docs/self-hosting/railway" },
],
},
],
components: {
Head: "./src/components/docs-head.astro",
},
}),
],
});