-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathastro.config.mjs
More file actions
75 lines (74 loc) · 2.17 KB
/
astro.config.mjs
File metadata and controls
75 lines (74 loc) · 2.17 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { buildSidebarConfig } from './scripts/site-data.mjs';
export default defineConfig({
site: 'https://info.atmoomen.top',
integrations: [
starlight({
title: {
'zh-CN': 'Daily Routines 信息中心',
en: 'Daily Routines Info Center',
'ja-JP': 'Daily Routines インフォメーションセンター',
'ko-KR': 'Daily Routines 정보 센터'
},
description: 'Daily Routines 官方文档、FAQ、更新日志与模块信息中心',
favicon: '/assets/apple-touch-icon.png',
logo: {
src: '/assets/apple-touch-icon.png',
alt: 'Daily Routines'
},
defaultLocale: 'root',
locales: {
root: {
label: '简体中文',
lang: 'zh-CN'
},
en: {
label: 'English',
lang: 'en'
},
ja: {
label: '日本語',
lang: 'ja-JP'
},
ko: {
label: '한국어',
lang: 'ko-KR'
}
},
lastUpdated: true,
social: [
{
icon: 'github',
label: 'GitHub',
href: 'https://github.com/Dalamud-DailyRoutines'
},
{
icon: 'discord',
label: 'Discord',
href: 'https://discord.gg/MDvv8Ejntw'
}
],
sidebar: buildSidebarConfig(),
components: {
SiteTitle: './src/components/starlight/SiteTitle.astro',
LanguageSelect: './src/components/starlight/LanguageSelect.astro',
PageTitle: './src/components/starlight/PageTitle.astro',
MarkdownContent: './src/components/starlight/MarkdownContent.astro',
TableOfContents: './src/components/starlight/TableOfContents.astro',
MobileTableOfContents: './src/components/starlight/MobileTableOfContents.astro'
},
customCss: ['./src/styles/starlight.css', './src/styles/article-docs.css'],
head: [
{
tag: 'link',
attrs: {
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/assets/apple-touch-icon.png'
}
}
]
})
]
});