cours/docs/.vitepress/config.js

146 lines
3.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default {
lang: "fr",
title: "3W",
titleTemplate: "Support de cours",
description: "Cest cool je crois.",
lastUpdated: true,
themeConfig: {
nav: [
{
text: "Dev",
link: "/dev/",
activeMatch: "/dev/",
// items: [
// { text: "Sommaire", link: "/dev/" },
// { text: "B1", link: "/dev/B1/" },
// { text: "B2", link: "/dev/B2/" },
// { text: "B3", link: "/dev/B3/" }
// ]
},
{ text: "Design", link: "/design/", activeMatch: "/design/" },
{ text: "À propos", link: "/a-propos", activeMatch: "/a-propos" },
],
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" },
{ text: "Outils", link: "/dev/outils" },
{ 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",
},
],
},
],
},
{
text: "B1",
collapsible: true,
collapsed: true,
items: [
{ text: "Introduction B1", link: "/dev/B1/" },
{ text: "HTML B1", link: "/dev/B1/html" },
],
},
{
text: "B2",
collapsible: true,
collapsed: true,
items: [
{ text: "Introduction B2", link: "/dev/B2/" },
{ text: "HTML B2", link: "/dev/B2/html" },
{ text: "Git", link: "/dev/B2/git" },
],
},
{
text: "B3",
collapsible: true,
collapsed: true,
items: [
{ text: "Introduction B3", link: "/dev/B3/" },
{ text: "HTML B3", link: "/dev/B3/html" },
],
},
{
text: "Code Camp",
collapsible: true,
collapsed: true,
items: [
{ text: "Théorie", link: "/dev/code-camp/" },
{ text: "Sujets", link: "/dev/code-camp/sujets" },
],
},
],
"/design/": [
{
text: "Design",
items: [
{ text: "Index", link: "/design/" },
{ text: "Introduction", link: "/design/introduction" },
],
},
],
},
outlineTitle: "Sur cette page",
lastUpdatedText: "Mis à jour le",
footer: {
message: "Ces contenus sont publiés sous licence Creative Commons",
copyright: "CC BY-SA 4.0",
},
docFooter: {
prev: "Précédent",
next: "Suivant",
},
},
editLink: {
pattern: "https://gitlab.com/3_w/docs/-/edit/main/docs/:path",
text: "Proposer des changements sur Gitlab",
},
markdown: {
theme: "one-dark-pro",
externalLinks: {
target: "_self",
},
},
};