-
Notifications
You must be signed in to change notification settings - Fork 5
/
astro.config.mjs
50 lines (49 loc) · 1.51 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: "https://project-kessel.github.io",
base: "docs",
integrations: [
starlight({
title: "Kessel",
social: {
github: "https://github.com/project-kessel",
},
editLink: {
// This enables the "edit" link on the bottom of each page which directly links to contribute
baseUrl: 'https://github.com/project-kessel/docs/edit/main/',
},
sidebar: [
{
label: "Start Here",
items: [{ label: "Coming Soon", link: "./start-here/coming-soon/" },
],
},
{
label: "Kessel Inventory",
items: [
{ label: "API", link: "./inventory/inventory-api/" },
{ label: "Kafka events", link: "./inventory/kafka-event/" },
{ label: "Data persistence", link: "./inventory/kessel-inventory/" },
{ label: "Resource identification", link: "./inventory/resource-identification-history/" },
]
},
{
label: "For Red Hatters",
link: "./for-red-hatters/",
attrs: {
class: "red-hat",
},
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
customCss: ["./src/tailwind.css", "./src/custom.css"],
}),
tailwind({ applyBaseStyles: false }),
],
});