-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathastro.config.mjs
353 lines (351 loc) · 11.7 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import sitemap from "@astrojs/sitemap";
import react from "@astrojs/react";
const site = 'https://bibtex.eu/';
// https://astro.build/config
export default defineConfig({
site,
integrations: [starlight({
// head: [{
// tag: 'script',
// attrs: {
// async: true,
// src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9078114372269384',
// 'crossorigin': 'anonymous'
// }
// }],
title: 'BibTeX',
logo: {
light: './src/assets/images/logo.svg',
dark: './src/assets/images/logo_dark.svg',
replacesTitle: true
},
social: {
github: 'https://github.com/citedrive/bibtex.eu',
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: [{
label: 'Basics',
translations: {
"de-DE": "Grundlagen",
"cs-CZ": "Základy",
"es-ES": "Conceptos básicos",
"pt-PT": "Noções básicas",
"fr-FR": "Fondamentaux",
"sv-SE": "Grundläggande",
"tr-TR": "Temel",
"zh-CN": "基础",
"da-DK": "Grundlæggende",
"it-IT": "Principi",
"ja-JP": "基本",
"ko-KR": "기초",
"no-NO": "Grunnleggende",
"ru-RU": "Основы"
},
items: [{
label: 'Using LaTeX (Quick start)',
link: '/',
translations: {
"de-DE": "Verwendung von LaTeX (Schnellstart)",
"cs-CZ": "Použití LaTeXu (Rychlý start)",
"es-ES": "Uso de LaTeX (Inicio rápido)",
"pt-PT": "Usando LaTeX (Início rápido)",
"fr-FR": "Utilisation de LaTeX (Démarrage rapide)",
"sv-SE": "Använda LaTeX (Snabbstart)",
"tr-TR": "LaTeX Kullanımı (Hızlı başlangıç)",
"zh-CN": "使用 LaTeX(快速入门)",
"da-DK": "Brug af LaTeX (Hurtig start)",
"it-IT": "Utilizzo di LaTeX (Avvio rapido)",
"ja-JP": "LaTeX の使用(クイックスタート)",
"ko-KR": "LaTeX 사용하기 (빠른 시작)",
"no-NO": "Bruk av LaTeX (Hurtigstart)",
"ru-RU": "Использование LaTeX (Быстрый старт)"
}
}, {
label: 'Natbib (In-depth Tutorial)',
link: '/natbib/',
translations: {
"de-DE": "Natbib (Ausführliches Tutorial)",
"cs-CZ": "Natbib (Podrobný průvodce)",
"es-ES": "Natbib (Tutorial detallado)",
"pt-PT": "Natbib (Tutorial detalhado)",
"fr-FR": "Natbib (Tutoriel approfondi)",
"sv-SE": "Natbib (Djupgående handledning)",
"tr-TR": "Natbib (Detaylı Kılavuz)",
"zh-CN": "Natbib(深入教程)",
"da-DK": "Natbib (Dybdegående vejledning)",
"it-IT": "Natbib (Tutorial approfondito)",
"ja-JP": "Natbib(詳細なチュートリアル)",
"ko-KR": "Natbib 사용법 (심층 튜토리얼)",
"no-NO": "Natbib (Dypgående veiledning)",
"ru-RU": "Natbib (Подробное руководство)"
}
}, {
label: 'Using BibLaTeX (Quick start)',
link: '/biblatex/',
translations: {
"de-DE": "Verwendung von BibLaTeX (Schnellstart)",
"cs-CZ": "Použití BibLaTeXu (Rychlý start)",
"es-ES": "Uso de BibLaTeX (Inicio rápido)",
"pt-PT": "Usando BibLaTeX (Início rápido)",
"fr-FR": "Utilisation de BibLaTeX (Démarrage rapide)",
"sv-SE": "Använda BibLaTeX (Snabbstart)",
"tr-TR": "BibLaTeX Kullanımı (Hızlı başlangıç)",
"zh-CN": "使用 BibLaTeX(快速入门)",
"da-DK": "Brug af BibLaTeX (Hurtig start)",
"it-IT": "Utilizzo di BibLaTeX (Avvio rapido)",
"ja-JP": "BibLaTeX の使用(クイックスタート)",
"ko-KR": "BibLaTeX 사용하기 (빠른 시작)",
"no-NO": "Bruk av BibLaTeX (Hurtigstart)",
"ru-RU": "Использование BibLaTeX (Быстрый старт)"
}
}, {
label: 'Using Quarto (RStudio/Posit) (Quick start)',
link: '/quarto/',
translations: {
"de-DE": "Verwendung von Quarto (RStudio/Posit) (Schnellstart)",
"cs-CZ": "Použití Quarto (RStudio/Posit) (Rychlý start)",
"es-ES": "Uso de Quarto (RStudio/Posit) (Inicio rápido)",
"pt-PT": "Usando Quarto (RStudio/Posit) (Início rápido)",
"fr-FR": "Utilisation de Quarto (RStudio/Posit) (Démarrage rapide)",
"sv-SE": "Använda Quarto (RStudio/Posit) (Snabbstart)",
"tr-TR": "Quarto Kullanımı (RStudio/Posit) (Hızlı başlangıç)",
"zh-CN": "使用 Quarto (RStudio/Posit)(快速入门)",
"da-DK": "Brug af Quarto (RStudio/Posit) (Hurtig start)",
"it-IT": "Utilizzo di Quarto (RStudio/Posit) (Avvio rapido)",
"ja-JP": "Quarto の使用(RStudio/Posit)(クイックスタート)",
"ko-KR": "Quarto 사용하기 (RStudio/Posit) (빠른 시작)",
"no-NO": "Bruk av Quarto (RStudio/Posit) (Hurtigstart)",
"ru-RU": "Использование Quarto (RStudio/Posit) (Быстрый старт)"
}
}, {
label: 'Using R Markdown (Quick start)',
link: '/rmarkdown/',
translations: {
"de-DE": "Verwendung von R Markdown (Schnellstart)",
"cs-CZ": "Použití R Markdown (Rychlý start)",
"es-ES": "Uso de R Markdown (Inicio rápido)",
"pt-PT": "Usando R Markdown (Início rápido)",
"fr-FR": "Utilisation de R Markdown (Démarrage rapide)",
"sv-SE": "Använda R Markdown (Snabbstart)",
"tr-TR": "R Markdown Kullanımı (Hızlı başlangıç)",
"zh-CN": "使用 R Markdown(快速入门)",
"da-DK": "Brug af R Markdown (Hurtig start)",
"it-IT": "Utilizzo di R Markdown (Avvio rapido)",
"ja-JP": "R Markdown の使用(クイックスタート)",
"ko-KR": "R Markdown 사용하기 (빠른 시작)",
"no-NO": "Bruk av R Markdown (Hurtigstart)",
"ru-RU": "Использование R Markdown (Быстрый старт)"
}
}, {
label: 'Using Overleaf (Quick start)',
link: '/overleaf/',
translations: {
"de-DE": "Verwendung von Overleaf (Schnellstart)",
"cs-CZ": "Použití Overleaf (Rychlý start)",
"es-ES": "Uso de Overleaf (Inicio rápido)",
"pt-PT": "Usando Overleaf (Início rápido)",
"fr-FR": "Utilisation d'Overleaf (Démarrage rapide)",
"sv-SE": "Använda Overleaf (Snabbstart)",
"tr-TR": "Overleaf Kullanımı (Hızlı başlangıç)",
"zh-CN": "使用 Overleaf(快速入门)",
"da-DK": "Brug af Overleaf (Hurtig start)",
"it-IT": "Utilizzo di Overleaf (Avvio rapido)",
"ja-JP": "Overleaf の使用(クイックスタート)",
"ko-KR": "Overleaf 사용하기 (빠른 시작)",
"no-NO": "Bruk av Overleaf (Hurtigstart)",
"ru-RU": "Использование Overleaf (Быстрый старт)"
}
}]
}, {
collapsed: true,
label: 'Reference Types',
translations: {
"de-DE": "Referenztypen",
"cs-CZ": "Typy referencí",
"es-ES": "Tipos de referencia",
"pt-PT": "Tipos de referência",
"fr-FR": "Types de référence",
"sv-SE": "Referenstyper",
"tr-TR": "Referans Türleri",
"zh-CN": "参考类型",
"da-DK": "Referencestyper",
"it-IT": "Tipi di riferimento",
"ja-JP": "参照タイプ",
"ko-KR": "참조 유형",
"no-NO": "Referansetyper",
"ru-RU": "Типы ссылок"
},
autogenerate: {
directory: 'types'
}
}, {
collapsed: true,
label: 'Fields',
translations: {
"de-DE": "Felder",
"cs-CZ": "Pole",
"es-ES": "Campos",
"pt-PT": "Campos",
"fr-FR": "Champs",
"sv-SE": "Fält",
"tr-TR": "Alanlar",
"zh-CN": "字段",
"da-DK": "Felter",
"it-IT": "Campi",
"ja-JP": "フィールド",
"ko-KR": "필드",
"no-NO": "Felter",
"ru-RU": "Поля"
},
autogenerate: {
directory: 'fields'
}
}, {
collapsed: true,
label: 'BibTeX FAQ',
translations: {
"de-DE": "BibTeX FAQ",
"cs-CZ": "BibTeX FAQ",
"es-ES": "Preguntas frecuentes sobre BibTeX",
"pt-PT": "FAQ do BibTeX",
"fr-FR": "FAQ BibTeX",
"sv-SE": "BibTeX FAQ",
"tr-TR": "BibTeX SSS",
"zh-CN": "BibTeX 常见问题",
"da-DK": "BibTeX FAQ",
"it-IT": "FAQ su BibTeX",
"ja-JP": "BibTeX FAQ",
"ko-KR": "BibTeX FAQ",
"no-NO": "BibTeX FAQ",
"ru-RU": "BibTeX FAQ"
},
autogenerate: {
directory: 'faq'
}
}, {
label: 'BibTeX resources',
translations: {
"de-DE": "BibTeX-Ressourcen",
"cs-CZ": "BibTeX zdroje",
"es-ES": "Recursos de BibTeX",
"pt-PT": "Recursos BibTeX",
"fr-FR": "Ressources BibTeX",
"sv-SE": "BibTeX-resurser",
"tr-TR": "BibTeX kaynakları",
"zh-CN": "BibTeX 资源",
"da-DK": "BibTeX ressourcer",
"it-IT": "Risorse BibTeX",
"ja-JP": "BibTeX リソース",
"ko-KR": "BibTeX 자료",
"no-NO": "BibTeX ressurser",
"ru-RU": "Ресурсы BibTeX"
},
items: [{
label: 'Blog',
link: '/blog/'
}, {
label: 'Overleaf + CiteDrive',
link: '/overleaf-citedrive/'
}]
}, {
label: 'Links',
translations: {
"de-DE": "Links",
"cs-CZ": "Odkazy",
"es-ES": "Enlaces",
"pt-PT": "Links",
"fr-FR": "Liens",
"sv-SE": "Länkar",
"tr-TR": "Bağlantılar",
"zh-CN": "链接",
"da-DK": "Links",
"it-IT": "Collegamenti",
"ja-JP": "リンク",
"ko-KR": "링크",
"no-NO": "Lenker",
"ru-RU": "Ссылки"
},
items: [{
label: '🔗 CiteDrive',
link: 'https://www.citedrive.com/en/'
}, {
label: '🔗 Datanautes',
link: 'https://datanautes.com/en/'
}, {
label: '🔗 R Markdown',
link: 'https://rmarkdown.net/'
}, {
label: '🔗 BehaviorCloud',
link: 'https://www.behaviorcloud.com/en/'
}]
}]
}), sitemap(), react()]
});