-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
51 lines (50 loc) · 1.39 KB
/
astro.config.mjs
File metadata and controls
51 lines (50 loc) · 1.39 KB
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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: "https://docs.ergaster.org",
integrations: [
starlight({
head: [
import.meta.env.PROD && {
tag: "script",
attrs: {
src: "https://analytics.eu.umami.is/script.js",
"data-website-id": "7ace66fe-d496-4395-9b66-8819cbb9bbe3",
async: true,
},
}
].filter(Boolean),
title: 'Ergaster Docs',
logo: {
light: './src/assets/logo.svg',
dark: './src/assets/logo-dark.svg'
},
favicon: './src/assets/logo.svg',
social: [
{ icon: 'github', label: 'GitHub', href: 'https://github.com/thibaultamartin' },
{ icon: 'mastodon', label: 'Mastodon', href: 'https://mamot.fr/@thibaultamartin' },
{ icon: 'linkedin', label: 'LinkedIn', href: 'https://www.linkedin.com/in/ergaster/' },
{ icon: 'blueSky', label: 'Bluesky', href: 'https://bsky.app/profile/thib.ergaster.org' }
],
editLink: {
baseUrl: "https://github.com/thibaultamartin/ergaster-docs/edit/main/",
},
lastUpdated: true,
sidebar: [
{
label: 'Overview',
autogenerate: { directory: 'overview' },
},
{
label: 'Deployment',
autogenerate: { directory: 'deployment' },
},
{
label: 'Learning the concepts',
autogenerate: { directory: 'learning' },
},
],
}),
],
});