nixin-web/.vitepress/config.mts
2024-09-28 20:11:22 +03:00

50 lines
1.4 KiB
TypeScript

import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "NixiN",
description: "A webUI to configure NixOS machines",
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 NixiN Project',
items: [
{ text: 'About', link: '/about' },
{ text: 'Technical principles', link: '/technical-principles' },
{ text: 'Roadmap', link: '/roadmap' },
]
},
{
text: 'Getting started',
items: [
{ text: 'Local installation', link: '/installation' },
{ text: 'Build virtual machine', link: '/build-virtual-machine' },
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://git.distrilab.fr/NixiN' }
//{ icon: 'mastodon', link: 'https://mastodon.cc/@mrflos' }
]
}
})