-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
43 lines (42 loc) · 1.23 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
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: "https://reblocks.redotengine.org",
integrations: [
starlight({
title: "ReBlocks",
favicon: "/favicon.ico",
editLink: {
baseUrl:
"https://github.com/Redot-Experimental/reblocks-docs/edit/master/src/content/docs/",
},
logo: {
light: "./src/assets/dark-logo.svg",
dark: "./src/assets/light-logo.svg",
replacesTitle: true,
},
customCss: ["./src/styles/inter.css", "./src/styles/redot.css"],
social: {
github: "https://github.com/Redot-Experimental/ReBlocks",
discord: "https://discord.gg/redot",
"x.com": "https://x.com/Redot_Engine",
},
sidebar: [
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Example Guide", slug: "guides/example" },
{ label: "Getting Started", slug: "guides/getting-started" },
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
}),
],
});