nixin-web/.vitepress/config.mts

56 lines
1.5 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({
2024-09-25 15:13:09 +00:00
title: "NixiN",
2024-09-25 15:33:00 +00:00
description: "A webUI to configure NixOS machines",
2024-09-24 07:14:24 +00:00
base: '/',
head: [
2024-10-15 17:41:25 +00:00
['link', { rel: 'shortcut icon', href: 'logo-nixin.svg', type: 'image/svg' }]
2024-09-24 07:14:24 +00:00
],
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'
},
2024-10-15 17:41:25 +00:00
logo: '/logo-nixin.svg',
2024-09-24 07:14:24 +00:00
nav: [
{ text: 'Home', link: '/' },
{ text: 'Documentation', link: '/about' },
{ text: 'Generate my configuration', link: 'configure' },
],
search: {
provider: 'local'
},
sidebar: [
{
2024-09-25 15:13:09 +00:00
text: 'The NixiN Project',
2024-09-24 07:14:24 +00:00
items: [
{ text: 'About', link: '/about' },
{ text: 'Technical principles', link: '/technical-principles' },
{ text: 'Roadmap', link: '/roadmap' },
]
},
{
text: 'Getting started',
items: [
2024-09-28 17:11:22 +00:00
{ text: 'Local installation', link: '/installation' },
2024-09-24 07:14:24 +00:00
{ text: 'Build virtual machine', link: '/build-virtual-machine' },
]
}
],
socialLinks: [
2024-09-25 15:13:09 +00:00
{ icon: 'github', link: 'https://git.distrilab.fr/NixiN' }
2024-09-24 07:14:24 +00:00
//{ icon: 'mastodon', link: 'https://mastodon.cc/@mrflos' }
]
2024-10-01 12:43:21 +00:00
},
ignoreDeadLinks:[
// ignore all localhost links
/^https?:\/\/localhost/,
]
2024-09-24 07:14:24 +00:00
})