chore: pin vitepress to 2.0.0 and add sponsor link

This commit is contained in:
Aarnav Tale
2025-08-18 13:28:16 -04:00
parent bc3fc5ec5d
commit 361bc493c0
3 changed files with 428 additions and 692 deletions
+24 -24
View File
@@ -1,42 +1,42 @@
import { defineConfig } from "vitepress";
import { defineConfig } from 'vitepress';
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Headplane",
description: "Documentation",
// base: "https://headplane.net",
ignoreDeadLinks: ["/docs/Integrated-Mode", "/docs/Simple-Mode"],
title: 'Headplane',
description: 'The missing dashboard for Headscale',
ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
cleanUrls: true,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [{ text: "Home", link: "/" }],
nav: [
{ text: 'Home', link: '/' },
{ text: 'Sponsor Headplane', link: 'https://github.com/sponsors/tale' },
],
sidebar: [
{
text: "Chapters",
text: 'Chapters',
items: [
{ text: "Getting Started", link: "/README" },
{ text: "Configuration", link: "/Configuration" },
{ text: "Bare-Metal Mode", link: "/Bare-Metal" },
{ text: "Integrated Mode", link: "/Integrated-Mode" },
{ text: "Simple Mode", link: "/Simple-Mode" },
{ text: "Nix", link: "/Nix" },
{ text: "NixOS", link: "/NixOS-options" },
{ text: "Security", link: "/SECURITY" },
{ text: "Contributing", link: "/CONTRIBUTING" },
{ text: "Changelog", link: "/CHANGELOG" },
{ text: 'Getting Started', link: '/README' },
{ text: 'Configuration', link: '/Configuration' },
{ text: 'Bare-Metal Mode', link: '/Bare-Metal' },
{ text: 'Integrated Mode', link: '/Integrated-Mode' },
{ text: 'Simple Mode', link: '/Simple-Mode' },
{ text: 'Nix', link: '/Nix' },
{ text: 'NixOS', link: '/NixOS-options' },
{ text: 'Security', link: '/SECURITY' },
{ text: 'Contributing', link: '/CONTRIBUTING' },
{ text: 'Changelog', link: '/CHANGELOG' },
],
},
],
socialLinks: [
{ icon: "github", link: "https://github.com/tale/headplane" },
{ icon: 'github', link: 'https://github.com/tale/headplane' },
],
lastUpdated: {
text: "Updated at",
text: 'Updated at',
formatOptions: {
dateStyle: "full",
timeStyle: "medium",
dateStyle: 'full',
timeStyle: 'medium',
},
},
},
+3 -9
View File
@@ -81,7 +81,7 @@
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vite-tsconfig-paths": "^5.1.4",
"vitepress": "^1.6.4",
"vitepress": "next",
"vitest": "^3.1.3"
},
"packageManager": "pnpm@10.4.0",
@@ -94,14 +94,8 @@
"react-router-hono-server": "patches/react-router-hono-server.patch"
},
"supportedArchitectures": {
"os": [
"current",
"linux"
],
"cpu": [
"x64",
"arm64"
]
"os": ["current", "linux"],
"cpu": ["x64", "arm64"]
},
"onlyBuiltDependencies": [
"@biomejs/biome",
+401 -659
View File
File diff suppressed because it is too large Load Diff