-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathastro.config.mjs
More file actions
68 lines (67 loc) · 1.86 KB
/
Copy pathastro.config.mjs
File metadata and controls
68 lines (67 loc) · 1.86 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
// @ts-check
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'The HyDE Project',
customCss: [
// Path to our custom CSS file
'./src/styles/custom.css',
],
components: {
LanguageSelect: './src/components/LanguageSelect.astro',
},
defaultLocale: 'en',
locales: {
en: { label: 'English', lang: 'en' },
fr: { label: 'Français', lang: 'fr' },
es: { label: 'Español', lang: 'es' },
zh: { label: '简体中文', lang: 'zh' },
de: { label: 'Deutsch', lang: 'de' },
hi: { label: 'हिन्दी', lang: 'hi' },
ru: { label: 'Русский', lang: 'ru'},
id: { label: 'Bahasa Indonesia', lang: 'id'},
},
social: [
{
icon: 'github',
label: 'GitHub',
href: 'https://github.com/HyDE-Project',
},
{
icon: 'discord',
label: 'Discord',
href: 'https://discord.gg/8nWbDC4SnP',
},
],
sidebar: [
{
label: '🚀 Getting Started',
items: [{autogenerate: {directory: 'getting-started'}}],
},
{
label: '🛠️ Configuring',
items: [{autogenerate: {directory: 'configuring'}}],
},
{
label: '📙 Man Pages',
items: [{autogenerate: {directory: 'man-pages'}}],
},
{
label: '🎨 Theming',
items: [{autogenerate: {directory: 'theming'}}],
},
{
label: '📚 Resources',
items: [{autogenerate: {directory: 'resources'}}],
},
{
label: '👥 Help',
items: [{autogenerate: {directory: 'help'}}],
}
],
}),
],
});