-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
astro.config.mjs
51 lines (49 loc) · 1.28 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
44
45
46
47
48
49
50
51
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import cloudflare from "@astrojs/cloudflare";
// https://astro.build/config
export default defineConfig({
site: 'https://dorasto.github.io',
base: 'docs'
integrations: [starlight({
title: 'Doras.to',
logo: {
light: './src/assets/favicon.svg',
dark: './src/assets/favicon-white.svg'
},
customCss: ['./src/styles/custom.css'],
editLink: {
baseUrl: 'https://github.com/doras-to/docs/edit/master/'
},
social: {
github: 'https://github.com/doras-to/docs'
},
sidebar: [{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Getting Started',
link: '/guides/getting-started/'
}, {
label: 'Migrating from Mystlink',
link: '/mystlink/waitlist/'
}]
}, {
label: 'Core Features',
items: [{
label: 'Understanding Links',
link: '/links'
}]
}, {
label: 'Contributing',
autogenerate: {
directory: 'contributing'
}
}]
}), react(), tailwind()],
output: "hybrid",
adapter: cloudflare()
});