-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
43 lines (42 loc) · 1.4 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightHeadingBadges from "starlight-heading-badges";
// https://astro.build/config
export default defineConfig({
site: "https://docs.slicer.run",
integrations: [
starlight({
title: "slicer docs",
description:
"The official documentation site for slicer, a modern Java reverse engineering tool for the web.",
social: {
github: "https://github.com/run-slicer",
},
editLink: {
baseUrl: "https://github.com/run-slicer/docs/edit/main/",
},
sidebar: [
{
label: "Reference",
autogenerate: {
directory: "reference",
},
},
{
label: "Scripting API",
autogenerate: {
directory: "script",
},
},
{
label: "Resources",
autogenerate: {
directory: "resources",
},
},
],
customCss: ["@fontsource/geist-sans", "@fontsource/geist-mono", "./src/styles/custom.css"],
plugins: [starlightHeadingBadges()],
}),
],
});