cours/docs/.vitepress/config.js

163 lines
3.6 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: "introduction", link: "/dev/introduction/" },
// { 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",
collapsed: true,
items: [
{
text: "Base",
items: [
{
text: "Structure du dossier",
link: "/dev/fragments/base/01-structure",
},
{
text: "Robots txt",
link: "/dev/fragments/base/02-robots",
},
],
},
2022-10-03 21:52:19 +02:00
{
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: "Reset CSS",
link: "/dev/fragments/css/00-reset",
},
2022-10-03 21:52:19 +02:00
{
text: "Centrer",
link: "/dev/fragments/css/01-centrer",
},
],
},
],
2022-07-16 12:04:51 +02:00
},
{
text: "Débutant",
2022-07-16 12:04:51 +02:00
collapsed: true,
items: [
{ text: "Introduction débutant", link: "/dev/01-debutant/" },
{ text: "HTML débutant", link: "/dev/01-debutant/html" },
{ text: "CSS débutant", link: "/dev/01-debutant/css" },
2022-10-03 21:52:19 +02:00
],
2022-07-16 12:04:51 +02:00
},
{
text: "Intermédiaire",
2022-07-16 12:04:51 +02:00
collapsed: true,
items: [
{
text: "Introduction intermédiaire",
link: "/dev/02-intermediaire/",
},
// { text: "HTML intermédiaire", link: "/dev/02-intermediaire/html" },
{ text: "JavaScript", link: "/dev/02-intermediaire/javascript" },
{ text: "Git", link: "/dev/02-intermediaire/git" },
2022-10-03 21:52:19 +02:00
],
2022-07-16 12:04:51 +02:00
},
{
text: "Avancé",
2022-07-16 12:04:51 +02:00
collapsed: true,
items: [
{ text: "Introduction avancé", link: "/dev/03-avance/" },
// { text: "HTML avancé", link: "/dev/03-avance/html" },
2022-10-03 21:52:19 +02:00
],
2022-07-16 12:04:51 +02:00
},
{
text: "Code Camp",
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
};