-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
61 lines (59 loc) · 1.63 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
import { defineConfig } from "astro/config"
import starlight from "@astrojs/starlight"
import tailwind from "@astrojs/tailwind"
// https://astro.build/config
export default defineConfig({
site: "https://pirocheto.github.io",
base: "/website/",
integrations: [
starlight({
title: "DATA&IA",
locales: {
root: {
label: "Français",
lang: "fr",
},
},
customCss: [
// Chemin vers vos style de base de Tailwind:
"./src/custom.css",
"./src/tailwind.css",
"./src/assets/fonts/jost",
],
social: {
github: "https://github.com/pirocheto",
linkedin: "https://www.linkedin.com/in/pierre-rochet/",
},
sidebar: [
{
label: "Python",
items: [
{ label: "Introduction", slug: "python/01-introduction" },
{ label: "Installation", slug: "python/02-installation" },
{ label: "Premiers pas", slug: "python/03-get-started" },
{ label: "Variables", slug: "python/04-variables" },
{ label: "Types", slug: "python/05-types" },
],
},
{
label: "Organisation des données",
items: [
{ label: "Les types de systèmes", slug: "data/system-types" },
],
},
{
label: "Références",
slug: "references",
},
],
components: {
Header: "./src/components/Header.astro",
Hero: "./src/components/Hero.astro",
},
}),
tailwind({
// Désactive les styles de base par défaut:
applyBaseStyles: false,
}),
],
})