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
No known key found for this signature in database
3 changed files with 428 additions and 692 deletions

View File

@ -1,42 +1,42 @@
import { defineConfig } from "vitepress"; import { defineConfig } from 'vitepress';
// https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
title: "Headplane", title: 'Headplane',
description: "Documentation", description: 'The missing dashboard for Headscale',
// base: "https://headplane.net", ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
ignoreDeadLinks: ["/docs/Integrated-Mode", "/docs/Simple-Mode"], cleanUrls: true,
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config nav: [
nav: [{ text: "Home", link: "/" }], { text: 'Home', link: '/' },
{ text: 'Sponsor Headplane', link: 'https://github.com/sponsors/tale' },
],
sidebar: [ sidebar: [
{ {
text: "Chapters", text: 'Chapters',
items: [ items: [
{ text: "Getting Started", link: "/README" }, { text: 'Getting Started', link: '/README' },
{ text: "Configuration", link: "/Configuration" }, { text: 'Configuration', link: '/Configuration' },
{ text: "Bare-Metal Mode", link: "/Bare-Metal" }, { text: 'Bare-Metal Mode', link: '/Bare-Metal' },
{ text: "Integrated Mode", link: "/Integrated-Mode" }, { text: 'Integrated Mode', link: '/Integrated-Mode' },
{ text: "Simple Mode", link: "/Simple-Mode" }, { text: 'Simple Mode', link: '/Simple-Mode' },
{ text: "Nix", link: "/Nix" }, { text: 'Nix', link: '/Nix' },
{ text: "NixOS", link: "/NixOS-options" }, { text: 'NixOS', link: '/NixOS-options' },
{ text: "Security", link: "/SECURITY" }, { text: 'Security', link: '/SECURITY' },
{ text: "Contributing", link: "/CONTRIBUTING" }, { text: 'Contributing', link: '/CONTRIBUTING' },
{ text: "Changelog", link: "/CHANGELOG" }, { text: 'Changelog', link: '/CHANGELOG' },
], ],
}, },
], ],
socialLinks: [ socialLinks: [
{ icon: "github", link: "https://github.com/tale/headplane" }, { icon: 'github', link: 'https://github.com/tale/headplane' },
], ],
lastUpdated: { lastUpdated: {
text: "Updated at", text: 'Updated at',
formatOptions: { formatOptions: {
dateStyle: "full", dateStyle: 'full',
timeStyle: "medium", timeStyle: 'medium',
}, },
}, },
}, },

View File

@ -81,7 +81,7 @@
"typescript": "^5.8.3", "typescript": "^5.8.3",
"vite": "^6.3.5", "vite": "^6.3.5",
"vite-tsconfig-paths": "^5.1.4", "vite-tsconfig-paths": "^5.1.4",
"vitepress": "^1.6.4", "vitepress": "next",
"vitest": "^3.1.3" "vitest": "^3.1.3"
}, },
"packageManager": "pnpm@10.4.0", "packageManager": "pnpm@10.4.0",
@ -94,14 +94,8 @@
"react-router-hono-server": "patches/react-router-hono-server.patch" "react-router-hono-server": "patches/react-router-hono-server.patch"
}, },
"supportedArchitectures": { "supportedArchitectures": {
"os": [ "os": ["current", "linux"],
"current", "cpu": ["x64", "arm64"]
"linux"
],
"cpu": [
"x64",
"arm64"
]
}, },
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [
"@biomejs/biome", "@biomejs/biome",

1060
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff