chore: cleanup docs a bit

This commit is contained in:
Aarnav Tale
2025-10-12 15:50:20 -04:00
parent 7a222c47ee
commit 4ccc73d7e4
5 changed files with 39 additions and 16 deletions
+5 -4
View File
@@ -5,11 +5,10 @@ export default defineConfig({
description: 'The missing dashboard for Headscale',
ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
cleanUrls: true,
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
themeConfig: {
nav: [
{ text: 'Home', link: '/' },
{ text: 'Sponsor Headplane', link: 'https://github.com/sponsors/tale' },
],
logo: '/logo-dark-bg.svg',
nav: [{ text: 'Home', link: '/' }],
sidebar: [
{
text: 'Chapters',
@@ -30,6 +29,8 @@ export default defineConfig({
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: {
+7
View File
@@ -0,0 +1,7 @@
html.dark .light-only {
display: none !important;
}
html:not(.dark) .dark-only {
display: none !important;
}
+4
View File
@@ -0,0 +1,4 @@
import DefaultTheme from 'vitepress/theme';
import './custom.css';
export default DefaultTheme;