mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
50 lines
1.1 KiB
TypeScript
50 lines
1.1 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: 'HAPI',
|
|
description: 'Control your AI agents from anywhere',
|
|
base: '/docs/',
|
|
|
|
head: [
|
|
['link', { rel: 'icon', href: '/docs/favicon.ico' }],
|
|
],
|
|
|
|
themeConfig: {
|
|
logo: '/logo.svg',
|
|
|
|
nav: [
|
|
{ text: 'Quick Start', link: '/guide/quick-start' },
|
|
{ text: 'App', link: 'https://app.hapi.run', target: '_blank' }
|
|
],
|
|
|
|
sidebar: [
|
|
{ text: 'Quick Start', link: '/guide/quick-start' },
|
|
{ text: 'Installation', link: '/guide/installation' },
|
|
{ text: 'PWA', link: '/guide/pwa' },
|
|
{ text: 'How it Works', link: '/guide/how-it-works' },
|
|
{ text: 'Voice Assistant', link: '/guide/voice-assistant' },
|
|
{ text: 'Why HAPI', link: '/guide/why-hapi' },
|
|
{ text: 'FAQ', link: '/guide/faq' }
|
|
],
|
|
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://github.com/tiann/hapi' }
|
|
],
|
|
|
|
footer: {
|
|
message: 'Released under the LGPL-3.0 License.',
|
|
copyright: 'Copyright © 2024-present'
|
|
},
|
|
|
|
search: {
|
|
provider: 'local'
|
|
}
|
|
},
|
|
|
|
vite: {
|
|
server: {
|
|
allowedHosts: true
|
|
}
|
|
}
|
|
})
|