-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
40 lines (38 loc) · 1.01 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
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import markdoc from "@astrojs/markdoc";
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: "Tech and Coffee",
logo: {
light: "src/assets/tac_logo_hires.webp",
dark: "src/assets/tac_logo_inverted.webp"
},
favicon: "/favicon-16x16.png",
social: {
"x.com": "https://twitter.com/techandcoffee1",
mastodon: "https://techhub.social/@techandcoffee",
telegram: "https://t.me/techandcoffee"
},
tableOfContents: false,
pagination: false,
sidebar: [{
label: "Resources",
autogenerate: {
directory: "resources"
}
}, {
label: "Links",
autogenerate: {
directory: "links"
}
}]
}), markdoc({ allowHTML: true })],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: {
service: {
entrypoint: "astro/assets/services/sharp"
}
}
});