cours/docs/.vitepress/config.js

146 lines
3.1 KiB
JavaScript
Raw Normal View History

2022-07-16 12:04:51 +02:00
export default {
lang: "fr",
title: "3W",
titleTemplate: "Support de cours",
description: "Cest cool je crois.",
lastUpdated: true,
themeConfig: {
nav: [
{
text: "Dev",
link: "/dev/",
2022-10-03 21:52:19 +02:00
activeMatch: "/dev/",
// items: [
// { text: "Sommaire", link: "/dev/" },
// { text: "B1", link: "/dev/B1/" },
// { text: "B2", link: "/dev/B2/" },
// { text: "B3", link: "/dev/B3/" }
// ]
2022-07-16 12:04:51 +02:00
},
{ text: "Design", link: "/design/", activeMatch: "/design/" },
2022-10-03 21:52:19 +02:00
{ text: "À propos", link: "/a-propos", activeMatch: "/a-propos" },
2022-07-16 12:04:51 +02:00
],
sidebar: {
// This sidebar gets displayed when user is
// under `dev` directory.
"/dev/": [
{
text: "Général",
items: [
{ text: "Sommaire", link: "/dev/" }, // /dev/index.md
{ text: "Documentations", link: "/dev/docs" },
2022-08-08 11:22:25 +02:00
{ text: "Outils", link: "/dev/outils" },
2022-10-03 21:52:19 +02:00
{ text: "Les pros", link: "/dev/goat" },
],
},
{
text: "Fragments",
collapsible: true,
collapsed: true,
items: [
{
text: "HTML",
link: "/dev/fragments/html/",
items: [
{
text: "Titres",
link: "/dev/fragments/html/01-titres",
},
{
text: "Paragraphe",
link: "/dev/fragments/html/02-paragraphe",
},
{
text: "Image",
link: "/dev/fragments/html/04-image",
},
],
},
{
text: "CSS",
items: [
{
text: "Centrer",
link: "/dev/fragments/css/01-centrer",
},
],
},
],
2022-07-16 12:04:51 +02:00
},
{
text: "B1",
collapsible: true,
collapsed: true,
items: [
2022-08-08 11:22:25 +02:00
{ text: "Introduction B1", link: "/dev/B1/" },
2022-10-03 21:52:19 +02:00
{ text: "HTML B1", link: "/dev/B1/html" },
],
2022-07-16 12:04:51 +02:00
},
{
text: "B2",
collapsible: true,
collapsed: true,
items: [
2022-08-08 11:22:25 +02:00
{ text: "Introduction B2", link: "/dev/B2/" },
2022-10-03 21:52:19 +02:00
{ text: "HTML B2", link: "/dev/B2/html" },
2022-11-16 18:12:05 +01:00
{ text: "Git", link: "/dev/B2/git" },
2022-10-03 21:52:19 +02:00
],
2022-07-16 12:04:51 +02:00
},
{
text: "B3",
collapsible: true,
collapsed: true,
items: [
2022-08-08 11:22:25 +02:00
{ text: "Introduction B3", link: "/dev/B3/" },
2022-10-03 21:52:19 +02:00
{ text: "HTML B3", link: "/dev/B3/html" },
],
2022-07-16 12:04:51 +02:00
},
{
text: "Code Camp",
collapsible: true,
collapsed: true,
2022-07-30 18:02:39 +02:00
items: [
{ text: "Théorie", link: "/dev/code-camp/" },
2022-10-03 21:52:19 +02:00
{ text: "Sujets", link: "/dev/code-camp/sujets" },
],
},
2022-07-16 12:04:51 +02:00
],
"/design/": [
{
text: "Design",
items: [
{ text: "Index", link: "/design/" },
2022-10-03 21:52:19 +02:00
{ text: "Introduction", link: "/design/introduction" },
],
},
],
2022-07-16 12:04:51 +02:00
},
outlineTitle: "Sur cette page",
lastUpdatedText: "Mis à jour le",
footer: {
message: "Ces contenus sont publiés sous licence Creative Commons",
2022-10-03 21:52:19 +02:00
copyright: "CC BY-SA 4.0",
2022-07-16 12:04:51 +02:00
},
docFooter: {
prev: "Précédent",
2022-10-03 21:52:19 +02:00
next: "Suivant",
},
2022-07-16 12:04:51 +02:00
},
2022-08-29 12:24:15 +02:00
editLink: {
pattern: "https://gitlab.com/3_w/docs/-/edit/main/docs/:path",
2022-10-03 21:52:19 +02:00
text: "Proposer des changements sur Gitlab",
2022-08-29 12:24:15 +02:00
},
2022-07-16 12:04:51 +02:00
markdown: {
theme: "one-dark-pro",
externalLinks: {
2022-10-03 21:52:19 +02:00
target: "_self",
},
},
2022-07-16 12:04:51 +02:00
};