-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
59 lines (58 loc) · 2 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "RyzeKit Docs",
social: {
github: "https://github.com/RyzeKit/docs",
},
sidebar: [
{
label: "Astro Starter",
items: [
{ label: "Getting Started", slug: "astro/getting-started" },
{
label: "Authentication",
items: [
{
label: "Introduction",
slug: "astro/authentication/introduction",
},
{ label: "Lucia", slug: "astro/authentication/lucia" },
{ label: "Logto", slug: "astro/authentication/logto" },
],
},
{
label: "Payments",
items: [
{ label: "Introduction", slug: "astro/payments/introduction" },
{ label: "Stripe", slug: "astro/payments/stripe" },
{ label: "Lemonsqueezy", slug: "astro/payments/lemonsqueezy" },
],
},
{ label: "Email", slug: "astro/email" },
{ label: "Deployment", slug: "astro/deployment" },
{ label: "Analytics", slug: "astro/analytics" },
{ label: "Blog", slug: "astro/blog" },
{ label: "Docs (Help Center)", slug: "astro/docs" },
{ label: "Internationalization (i18n)", slug: "astro/i18n" },
],
},
],
components: {
SocialIcons: "./src/components/SocialIcons.astro",
ThemeProvider: "./src/components/ThemeProvider.astro",
ThemeSelect: "./src/components/ThemeSelect.astro",
},
customCss: ["./src/styles/tailwind.css"],
editLink: { baseUrl: "https://github.com/RyzeKit/docs/edit/main" },
}),
tailwind({
// Disable the default base styles:
applyBaseStyles: false,
}),
],
});