-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathastro.config.mjs
50 lines (49 loc) · 1.29 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
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import solid from '@astrojs/solid-js';
import sentry from "@sentry/astro";
import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
integrations: [solid(), sentry({
dsn: "https://2c75191f8c460efd122bf5b4dc1d6f59@o4507588860575744.ingest.us.sentry.io/4507729891557376",
sourceMapsUploadOptions: {
project: "dailynotes-website",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
}), starlight({
title: '每日手帐',
locales: {
root: {
label: '简体中文',
lang: 'zh-CN'
}
},
social: {
github: 'https://github.com/HaoduStudio/website'
},
editLink: {
baseUrl: 'https://github.com/HaoduStudio/website/edit/master/'
},
sidebar: [{
label: '快速上手',
items: [
// Each item here is one entry in the navigation menu.
{
label: '安装软件',
slug: 'started/index'
},
{
label: '创建手帐',
slug: 'started/create-first-notes'
}]
},
{
label: '团队信息',
slug: 'team'
}],
customCss: ['./src/assets/default.css'],
})],
adapter: node({ mode: "standalone" }),
output: "server"
});