-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
86 lines (85 loc) · 2.99 KB
/
astro.config.mjs
File metadata and controls
86 lines (85 loc) · 2.99 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
76
77
78
79
80
81
82
83
84
85
86
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
site: "https://NathanViaud.github.io",
base: "fyc-git",
integrations: [
starlight({
title: "FYC Git",
locales: {
root: {
label: "Français",
lang: "fr-FR",
},
},
customCss: ["./src/styles/custom.css"],
social: {
github: "https://github.com/NathanViaud/fyc-git",
},
sidebar: [
{
label: "Vidéos",
collapsed: true,
autogenerate: { directory: "01-videos" },
},
{
label: "Débutant",
collapsed: true,
items: [
"02-beginner/01-prerequisites",
"02-beginner/02-intro",
{
label: "Premiers pas",
autogenerate: { directory: "02-beginner/03-first-steps" },
},
{
label: "Principes des branches",
autogenerate: { directory: "02-beginner/04-branches" },
},
{
label: "Exemples d'utilisation",
autogenerate: { directory: "02-beginner/05-examples" },
},
"02-beginner/06-practical",
],
},
{
label: "Avancés",
collapsed: true,
items: [
"03-advanced/01-concepts",
{
label: "Commandes",
autogenerate: { directory: "03-advanced/02-commands" },
},
"03-advanced/03-branching-strategy",
"03-advanced/04-secrets",
"03-advanced/05-tags",
],
},
{
label: "Outils complémentaires",
collapsed: true,
items: [
"04-tools/01-platforms",
"04-tools/02-pull-requests",
"04-tools/03-ci",
"04-tools/04-deployment",
],
},
{
label: "Self-hosted GitLab",
collapsed: true,
autogenerate: { directory: "05-self-hosted" },
},
{
label: "Evaluations",
collapsed: true,
autogenerate: { directory: "06-evaluations" },
},
],
}),
],
});