site: Add official website source

- Set VitePress base to '/docs/' for serving documentation at /docs/ route
- Update favicon path in head config to '/docs/favicon.ico'
- Add build:site script to build website and docs, then merge outputs
This commit is contained in:
weishu
2026-01-01 12:48:45 +08:00
parent 5c059b6023
commit 77a2eee236
102 changed files with 10257 additions and 1 deletions
+2 -1
View File
@@ -3,9 +3,10 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: 'HAPI',
description: 'Control your AI agents from anywhere',
base: '/docs/',
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
['link', { rel: 'icon', href: '/docs/favicon.ico' }],
],
themeConfig: {