mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
fix: reorganize vitepress docs into /docs
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ node_modules
|
||||
.env
|
||||
/app/hp_ssh.wasm
|
||||
/app/wasm_exec.js
|
||||
/.vitepress/dist/
|
||||
/.vitepress/cache/
|
||||
/docs/.vitepress/dist/
|
||||
/docs/.vitepress/cache/
|
||||
|
||||
/.direnv
|
||||
|
||||
@@ -6,9 +6,8 @@ export default defineConfig({
|
||||
ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
|
||||
cleanUrls: true,
|
||||
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
|
||||
srcDir: 'docs',
|
||||
themeConfig: {
|
||||
logo: '/logo-dark-bg.svg',
|
||||
logo: '/logo.svg',
|
||||
nav: [{ text: 'Home', link: '/' }],
|
||||
sidebar: [
|
||||
{
|
||||
+1
-1
@@ -6,7 +6,7 @@ hero:
|
||||
name: "Headplane"
|
||||
tagline: "A full-featured admin interface for Headscale"
|
||||
image:
|
||||
src: "/logo-dark-bg.svg"
|
||||
src: "/logo.svg"
|
||||
alt: "Headplane"
|
||||
actions:
|
||||
- text: "Getting Started"
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 30 30">
|
||||
<g transform="translate(-142.5 -229.5)">
|
||||
<path d="M120 147.5h20a5 5 45 0 1 5 5v20a5 5 135 0 1-5 5h-20a5 5 45 0 1-5-5v-20a5 5 135 0 1 5-5" style="fill:#181717" transform="translate(27.5 82)"/>
|
||||
<circle cx="150" cy="237" r="2.5" style="fill:#f7f5f4"/>
|
||||
<circle cx="157.5" cy="237" r="2.5" style="fill:#444343"/>
|
||||
<circle cx="165" cy="237" r="2.5" style="fill:#f7f5f4"/>
|
||||
<circle cx="150" cy="244.5" r="2.5" style="fill:#f7f5f4"/>
|
||||
<circle cx="157.5" cy="244.5" r="2.5" style="fill:#f7f5f4"/>
|
||||
<circle cx="165" cy="244.5" r="2.5" style="fill:#f7f5f4"/>
|
||||
<circle cx="150" cy="252" r="2.5" style="fill:#f7f5f4"/>
|
||||
<circle cx="157.5" cy="252" r="2.5" style="fill:#444343"/>
|
||||
<circle cx="165" cy="252" r="2.5" style="fill:#f7f5f4"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 901 B |
+3
-3
@@ -11,9 +11,9 @@
|
||||
"start": "node build/server/index.js",
|
||||
"typecheck": "react-router typegen && tsgo",
|
||||
"test": "vitest run",
|
||||
"docs:dev": "vitepress dev",
|
||||
"docs:build": "vitepress build",
|
||||
"docs:preview": "vitepress preview"
|
||||
"docs:dev": "vitepress dev docs",
|
||||
"docs:build": "vitepress build docs",
|
||||
"docs:preview": "vitepress preview docs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ name = "headplane"
|
||||
compatibility_date = "2025-08-18"
|
||||
|
||||
[assets]
|
||||
directory = ".vitepress/dist"
|
||||
directory = "docs/.vitepress/dist"
|
||||
not_found_handling = "404-page"
|
||||
|
||||
Reference in New Issue
Block a user