-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
46 lines (45 loc) · 1.11 KB
/
astro.config.mjs
File metadata and controls
46 lines (45 loc) · 1.11 KB
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
// @ts-check
import starlight from "@astrojs/starlight";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig, envField } from "astro/config";
// https://astro.build/config
export default defineConfig({
trailingSlash: "always",
integrations: [
starlight({
title: "Reflect Documentation",
logo: {
alt: "Reflect",
src: "./public/reflect.svg",
},
social: [{ icon: "github", label: "GitHub", href: "https://github.com/2702rebels/reflect" }],
sidebar: [
{
label: "Overview",
slug: "overview",
},
{
label: "Getting Started",
autogenerate: { directory: "getting-started" },
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
{
label: "Contribute to Reflect",
slug: "contribute",
},
],
customCss: ["./src/styles/global.css"],
}),
],
env: {
schema: {
RELEASE_VERSION: envField.string({ context: "client", access: "public" }),
},
},
vite: {
plugins: [tailwindcss()],
},
});