-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
64 lines (62 loc) · 1.64 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import svelte from "@astrojs/svelte";
import starlightLinksValidator from 'starlight-links-validator'
import rehypeAstroRelativeMarkdownLinks from "astro-rehype-relative-markdown-links";
import plantuml from './plugins/rollup-plugin-plantuml';
const base="/ai-ui-playground"
// https://astro.build/config
export default defineConfig({
site: "https://7frank.github.io",
base,
vite:{
plugins:[plantuml()]
},
markdown: {
rehypePlugins: [()=>rehypeAstroRelativeMarkdownLinks({base})],
},
integrations: [
svelte(),
starlight({
title: "7frank.dev",
customCss: [
// Relative Pfad zur eigenen CSS Datei
"./src/styles/custom.css",
],
plugins:[
starlightLinksValidator({errorOnRelativeLinks:false })
],
social: {
github: "https://github.com/7frank/ai-ui-playground/",
},
sidebar: [
{
label: "Artificial Intelligence (AI)",
autogenerate: {
directory: "ai",
},
},
{
label: "Software Development",
autogenerate: {
directory: "general",
},
},
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Example Guide", link: "/guides/example/" },
],
collapsed: true,
},
{
label: "Reference",
autogenerate: { directory: "reference" },
collapsed: true,
},
],
lastUpdated:true
}),
],
});