-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.ts
29 lines (28 loc) · 937 Bytes
/
astro.config.ts
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
import { defineConfig } from 'astro/config'
import starlight from '@astrojs/starlight'
import node from '@astrojs/node'
// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: node({ mode: 'standalone' }),
integrations: [
starlight({
prerender: false,
components: {
Pagination: './src/overrides/Pagination.astro',
Sidebar: './src/overrides/Sidebar.astro',
ThemeSelect: './src/overrides/ThemeSelect.astro',
},
customCss: ['./src/styles/custom.css'],
sidebar: [
{ label: 'Guides', autogenerate: { directory: 'guides' } },
{ label: 'Reference', autogenerate: { directory: 'reference' } },
{ label: 'Customers', autogenerate: { directory: 'customers' } },
],
social: {
github: '/~https://github.com/HiDeoo/starlight-better-auth-example',
},
title: 'Starlight x Better Auth',
}),
],
})