mirror of
https://github.com/tale/headplane.git
synced 2026-08-31 17:28:14 +00:00
fix: reorganize vitepress docs into /docs
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@ node_modules
|
|||||||
.env
|
.env
|
||||||
/app/hp_ssh.wasm
|
/app/hp_ssh.wasm
|
||||||
/app/wasm_exec.js
|
/app/wasm_exec.js
|
||||||
/.vitepress/dist/
|
/docs/.vitepress/dist/
|
||||||
/.vitepress/cache/
|
/docs/.vitepress/cache/
|
||||||
|
|
||||||
/.direnv
|
/.direnv
|
||||||
|
|||||||
@@ -6,9 +6,8 @@ export default defineConfig({
|
|||||||
ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
|
ignoreDeadLinks: ['/docs/Integrated-Mode', '/docs/Simple-Mode'],
|
||||||
cleanUrls: true,
|
cleanUrls: true,
|
||||||
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
|
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
|
||||||
srcDir: 'docs',
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
logo: '/logo-dark-bg.svg',
|
logo: '/logo.svg',
|
||||||
nav: [{ text: 'Home', link: '/' }],
|
nav: [{ text: 'Home', link: '/' }],
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
+1
-1
@@ -6,7 +6,7 @@ hero:
|
|||||||
name: "Headplane"
|
name: "Headplane"
|
||||||
tagline: "A full-featured admin interface for Headscale"
|
tagline: "A full-featured admin interface for Headscale"
|
||||||
image:
|
image:
|
||||||
src: "/logo-dark-bg.svg"
|
src: "/logo.svg"
|
||||||
alt: "Headplane"
|
alt: "Headplane"
|
||||||
actions:
|
actions:
|
||||||
- text: "Getting Started"
|
- 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",
|
"start": "node build/server/index.js",
|
||||||
"typecheck": "react-router typegen && tsgo",
|
"typecheck": "react-router typegen && tsgo",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"docs:dev": "vitepress dev",
|
"docs:dev": "vitepress dev docs",
|
||||||
"docs:build": "vitepress build",
|
"docs:build": "vitepress build docs",
|
||||||
"docs:preview": "vitepress preview"
|
"docs:preview": "vitepress preview docs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
|
|||||||
+1
-1
@@ -2,5 +2,5 @@ name = "headplane"
|
|||||||
compatibility_date = "2025-08-18"
|
compatibility_date = "2025-08-18"
|
||||||
|
|
||||||
[assets]
|
[assets]
|
||||||
directory = ".vitepress/dist"
|
directory = "docs/.vitepress/dist"
|
||||||
not_found_handling = "404-page"
|
not_found_handling = "404-page"
|
||||||
|
|||||||
Reference in New Issue
Block a user