nixin-web/.vitepress/config.mts

51 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-09-24 07:14:24 +00:00
import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Nix CLIC",
description: "Configure nixos machine by just clicking",
base: '/',
head: [
['link', { rel: 'shortcut icon', href: 'logo-nix-clic.jpg', type: 'image/jpeg' }]
],
lastUpdated: true,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
footer: {
message: 'Handcrafted with ❤️ by the DistriLab',
copyright: 'Copyleft © 2024-present the DistriLab - AGPL3 licence'
},
logo: '/logo-nix-clic.jpg',
nav: [
{ text: 'Home', link: '/' },
{ text: 'Documentation', link: '/about' },
{ text: 'Generate my configuration', link: 'configure' },
],
search: {
provider: 'local'
},
sidebar: [
{
text: 'The Nix Clic Project',
items: [
{ text: 'About', link: '/about' },
{ text: 'Technical principles', link: '/technical-principles' },
{ text: 'Roadmap', link: '/roadmap' },
]
},
{
text: 'Getting started',
items: [
{ text: 'Generate configuration', link: '/generate' },
{ text: 'Build virtual machine', link: '/build-virtual-machine' },
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://git.distrilab.fr/nix-clic' }
//{ icon: 'mastodon', link: 'https://mastodon.cc/@mrflos' }
]
}
})