Files
headplane/docs/.vitepress/config.ts
T
2026-04-07 00:24:50 -04:00

80 lines
2.3 KiB
TypeScript

import { defineConfig } from "vitepress";
export default defineConfig({
title: "Headplane",
description: "The missing dashboard for Headscale",
cleanUrls: true,
head: [["link", { rel: "icon", href: "/favicon.ico" }]],
themeConfig: {
logo: "/logo.svg",
nav: [
{ text: "Home", link: "/" },
{ text: "Changelog", link: "/CHANGELOG" },
],
search: {
provider: "local",
},
sidebar: [
{
text: "Getting Started",
items: [
{ text: "What is Headplane?", link: "/introduction" },
{
text: "Installation",
link: "/install",
items: [
{ text: "Limited Mode", link: "/install/limited-mode" },
{ text: "Native Mode", link: "/install/native-mode" },
{ text: "Docker", link: "/install/docker" },
],
},
{
text: "Configuration",
link: "/configuration",
items: [
{ text: "Common Issues", link: "/configuration/common-issues" },
{
text: "Sensitive Values",
link: "/configuration#sensitive-values",
},
],
},
{ text: "Nix", link: "/Nix" },
{ text: "NixOS", link: "/NixOS-options" },
{
text: "Features",
items: [
{ text: "Single Sign-On (SSO)", link: "/features/sso" },
{ text: "Headplane Agent", link: "/features/agent" },
{ text: "WebSSH", link: "/features/ssh" },
],
},
{
text: "Development",
collapsed: true,
items: [
{ text: "Architecture", link: "/development/architecture" },
{ text: "Contributing", link: "/CONTRIBUTING" },
{ text: "Security", link: "/SECURITY" },
],
},
],
},
],
socialLinks: [
{ icon: "github", link: "https://github.com/tale/headplane" },
{ icon: "githubsponsors", link: "https://github.com/sponsors/tale" },
{ icon: "kofi", link: "https://ko-fi.com/atale" },
],
lastUpdated: {
text: "Updated at",
formatOptions: {
dateStyle: "full",
timeStyle: "medium",
},
},
},
});