-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
38 lines (37 loc) · 1018 Bytes
/
astro.config.mjs
File metadata and controls
38 lines (37 loc) · 1018 Bytes
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
// @ts-check
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import mermaid from "astro-mermaid";
import starlightImageZoom from "starlight-image-zoom";
import { sidebar } from "./src/config/sidebar.mjs";
// https://astro.build/config
export default defineConfig({
integrations: [
mermaid({ autoTheme: true }),
starlight({
plugins: [starlightImageZoom()],
title: "SuperPlane Docs",
customCss: ["./src/styles/custom.css"],
logo: {
src: "./src/assets/superplane-logo.svg",
},
components: {
Head: "./src/components/CustomHead.astro",
SiteTitle: "./src/components/CustomSiteTitle.astro",
},
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/superplanehq/docs",
},
{
icon: "discord",
label: "Discord",
href: "https://discord.superplane.com",
},
],
sidebar,
}),
],
});