nixin-web/.vitepress/config.mts

59 lines
1.5 KiB
TypeScript
Raw Permalink Normal View History

import { defineConfig } from "vitepress";
2024-09-24 07:14:24 +00:00
// 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",
base: "/",
2024-09-24 07:14:24 +00:00
head: [
[
"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-09-24 07:14:24 +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" },
2024-09-24 07:14:24 +00:00
],
search: {
provider: "local",
2024-09-24 07:14:24 +00:00
},
sidebar: [
{
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" },
],
2024-09-24 07:14:24 +00:00
},
{
text: "Getting started",
2024-09-24 07:14:24 +00:00
items: [
{ text: "Local installation", link: "/installation" },
{ text: "Build virtual machine", link: "/build-virtual-machine" },
],
},
2024-09-24 07:14:24 +00:00
],
socialLinks: [
{ 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: [
2024-10-01 12:43:21 +00:00
// ignore all localhost links
/^https?:\/\/localhost/,
],
});