mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
chore: refactor vitepress docs location
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -1,7 +0,0 @@
|
||||
html.dark .light-only {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
html:not(.dark) .dark-only {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
import DefaultTheme from 'vitepress/theme';
|
||||
import './custom.css';
|
||||
|
||||
export default DefaultTheme;
|
||||
@@ -1 +0,0 @@
|
||||
../public
|
||||
Reference in New Issue
Block a user