import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
lang: 'fr-FR',
locales: {
root: {
label: 'Français',
lang: 'fr'
}
},
title: "Doc technique",
description: "Infrastructure et outils libres utilisés",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: '/yeswiki.pro_logo.png',
outlineTitle: 'Navigation rapide',
docFooter: {
prev: 'Page précédente',
next: 'Page suivante'
},
returnToTopLabel : 'Haut de page',
lastUpdatedText: 'Dernière maj',
nav: [
{ text: 'Infrastructure', link: '/infrastructure' },
{ text: 'Installation', link: '/installation' },
{ text: 'Aide mémoire', link: '/minio-cli' }
],
search: {
provider: 'local',
options: {
locales: {
fr: {
translations: {
button: {
buttonText: 'rechercher',
buttonAriaLabel: 'rechercher'
},
modal: {
noResultsText: 'pas de résultat',
resetButtonTitle: 'réinitialiser',
footer: {
selectText: 'Sélectionner',
navigateText: 'Naviguer'
}
}
}
}
}
}
},
sidebar: [
{
text: 'Infrastructure',
items: [
{ text: 'Vue d\'ensemble', link: '/infrastructure' },
{ text: 'Hébergement yeswiki.pro', link: '/hebergement' },
{ text: 'Ferme à CLIC', link: '/ferme-clic' },
{ text: 'CLIC yeswiki.net', link: '/clic-yeswiki-net' },
{ text: 'Monitoring', link: '/monitoring' }
]
},
{
text: 'Installation et configuration',
items: [
{ text: 'Vue d\'ensemble', link: '/installation' },
{ text: 'Proxmox', link: '/proxmox' },
{ text: 'Garage', link: '/garage' },
{ text: 'Yeswiki', link: '/yeswiki' },
{ text: 'Borgmatic', link: '/borgmatic' }
]
},
{
text: 'Aide Mémoire / Commandes',
items: [
{ text: 'Minio CLI', link: '/minio-cli' }
]
}
],
socialLinks: [
{ icon: {svg: ''}, link: 'https://code.mrflos.pw/mrflos/doc.yeswiki.pro' }
],
footer: {
message: 'Site réalisé avec VitePress. Publié sous licence AGPL 3.0.',
copyright: 'Copyleft © 2023-présent YesWiki.pro'
}
}
})