chore: refactor vitepress docs location

This commit is contained in:
Aarnav Tale
2025-10-12 22:03:13 -04:00
parent 4ccc73d7e4
commit eaffcd7b62
5 changed files with 5 additions and 5 deletions
-44
View File
@@ -1,44 +0,0 @@
import { defineConfig } from 'vitepress';
export default defineConfig({
title: 'Headplane',
description: 'The missing dashboard for Headscale',
ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
cleanUrls: true,
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
themeConfig: {
logo: '/logo-dark-bg.svg',
nav: [{ text: 'Home', link: '/' }],
sidebar: [
{
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' },
],
},
],
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',
},
},
},
});
-7
View File
@@ -1,7 +0,0 @@
html.dark .light-only {
display: none !important;
}
html:not(.dark) .dark-only {
display: none !important;
}
-4
View File
@@ -1,4 +0,0 @@
import DefaultTheme from 'vitepress/theme';
import './custom.css';
export default DefaultTheme;
-1
View File
@@ -1 +0,0 @@
../public