-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
52 lines (51 loc) · 1.58 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
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
export default defineConfig({
site: "https://alllex.github.io",
integrations: [
starlight({
title: "Wiki",
logo: {
src: "./src/assets/logo.webp",
},
social: {
github: "https://github.com/alllex/wiki",
},
editLink: {
baseUrl: "https://github.com/alllex/wiki/edit/main/",
},
lastUpdated: true,
favicon: "/favicon.ico",
customCss: [
"@fontsource-variable/noto-sans",
"@fontsource-variable/noto-sans/wght-italic.css",
"@fontsource-variable/jetbrains-mono",
"@fontsource-variable/jetbrains-mono/wght-italic.css",
"./src/tailwind.css",
],
expressiveCode: {
styleOverrides: { borderRadius: "0.3rem" },
},
sidebar: [
{
label: "Intro",
autogenerate: { directory: "intro" },
},
{
label: "Shells",
autogenerate: { directory: "shells" },
},
{
label: "Colors",
autogenerate: { directory: "colors" },
},
],
}),
tailwind({
applyBaseStyles: false,
}),
],
});