-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
89 lines (87 loc) · 1.79 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import sitemap from "@astrojs/sitemap";
const site = 'https://bibtex.studio/';
// https://astro.build/config
export default defineConfig({
site,
integrations: [starlight({
title: 'BibTeX Studio',
logo: {
light: './src/assets/images/logo.svg',
dark: './src/assets/images/logo_dark.svg',
replacesTitle: true
},
social: {
github: 'https://github.com/citedrive/bibtex.studio',
twitter: 'https://twitter.com/bibtex_eu '
},
defaultLocale: 'root',
editLink: {
baseUrl: 'https://github.com/citedrive/bibtex.eu/edit/main/'
},
locales: {
root: {
label: 'English',
lang: 'en' // lang is required for root locales
},
de: {
label: 'Deutsch',
lang: 'de-DE'
},
cs: {
label: 'Čeština',
lang: 'cs-CZ'
},
es: {
label: 'Español',
lang: 'es-ES'
},
pt: {
label: 'Português',
lang: 'pt-PT'
},
fr: {
label: 'Français',
lang: 'fr-FR'
},
sv: {
label: 'Svenska',
lang: 'sv-SE'
},
tr: {
label: 'Türkçe',
lang: 'tr-TR'
},
"zh-cn": {
label: '简体中文',
lang: 'zh-CN'
},
da: {
label: 'Dansk',
lang: 'da-DK'
},
it: {
label: 'Italiano',
lang: 'it-IT'
},
ja: {
label: '日本語',
lang: 'ja-JP'
},
ko: {
label: '한국어',
lang: 'ko-KR'
},
no: {
label: 'Norsk',
lang: 'no-NO'
},
ru: {
label: 'Русский',
lang: 'ru-RU'
}
},
sidebar: []
}), sitemap()]
});