-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
37 lines (35 loc) · 939 Bytes
/
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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: "https://bdaley.github.io",
base: '/dmd-1070-5070/',
integrations: [
starlight({
title: 'DMD 1070/5070',
social: {
github: 'https://github.com/bdaley/dmd-1070-5070',
twitter: 'https://twitter.com/uconnwebprof',
},
sidebar: [
{
label: 'Getting Started',
autogenerate: { directory: 'getting-started'}
},
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', link: '/guides/example/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
// Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
image: { service: { entrypoint: 'astro/assets/services/sharp' } },
});