-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
43 lines (42 loc) · 1.03 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
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
import blog from 'starlight-blog';
// https://astro.build/config
export default defineConfig({
integrations: [
blog({
authors: {
alex: {
name: 'Alex Kontos',
title: 'Founder',
picture: '/alex.jpg', // Images in the `public` directory are supported.
url: 'https://uk.linkedin.com/in/alex-kontos',
},
}
}),
starlight({
components: {
MarkdownContent: 'starlight-blog/overrides/MarkdownContent.astro',
Sidebar: 'starlight-blog/overrides/Sidebar.astro',
ThemeSelect: 'starlight-blog/overrides/ThemeSelect.astro',
},
title: 'My Docs',
social: {
github: 'https://github.com/withastro/starlight',
},
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', link: '/guides/example/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
});