Compare commits

...

2 Commits

Author SHA1 Message Date
Xin Wang
7575afaeee Splite docs to developer and user and bring profile link back 2026-08-07 11:13:45 +08:00
Xin Wang
95e04d8c94 Split Mintlify docs into user and developer sections.
Organize product guides under docs/user and setup/integration under docs/developer, with tabbed navigation for clearer audience targeting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 11:09:10 +08:00
11 changed files with 107 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://mintlify.com/docs.json",
"name": "AI 视频助手",
"name": "AI 视频助手 · 开发者文档",
"theme": "mint",
"colors": {
"primary": "#1b2741",
@@ -45,12 +45,8 @@
"navigation": {
"groups": [
{
"group": "开始使用",
"pages": ["index", "quickstart"]
},
{
"group": "产品与对接",
"pages": ["features", "integrations"]
"group": "开始与对接",
"pages": ["index", "integrations"]
}
]
}

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

53
docs-user/docs.json Normal file
View File

@@ -0,0 +1,53 @@
{
"$schema": "https://mintlify.com/docs.json",
"name": "AI 视频助手 · 用户文档",
"theme": "mint",
"colors": {
"primary": "#1b2741",
"light": "#3a4a6b",
"dark": "#0c1426"
},
"logo": {
"light": "/logo-light.svg",
"dark": "/logo-dark.svg",
"href": "/"
},
"appearance": {
"default": "dark"
},
"fonts": {
"family": "Inter",
"weight": 400,
"heading": {
"family": "Cormorant Garamond",
"weight": 300
}
},
"icons": {
"library": "lucide"
},
"background": {
"decoration": "gradient",
"color": {
"light": "#f3f5fb",
"dark": "#070b16"
}
},
"styling": {
"eyebrows": "breadcrumbs",
"codeblocks": {
"theme": {
"light": "github-light",
"dark": "github-dark"
}
}
},
"navigation": {
"groups": [
{
"group": "产品",
"pages": ["index", "features"]
}
]
}
}

View File

@@ -1,22 +1,13 @@
---
title: AI 视频助手
title: 产品概览
description: 面向实时语音交互的助手管理与集成平台。
icon: video
---
# AI 视频助手
# 产品概览
在一个界面中配置模型、知识库、工具和助手,并通过 WebRTC 或 WebSocket 接入实时语音对话。
<CardGroup cols={2}>
<Card title="快速开始" icon="rocket" color="#3a4a6b" href="/quickstart">
本地启动服务并完成首次助手配置。
</Card>
<Card title="对接说明" icon="plug" color="#3a4a6b" href="/integrations">
了解模型、外部 Agent 与语音通道的接入方式。
</Card>
</CardGroup>
## 平台组成
- **助手**:定义提示词、运行模式、模型绑定及可选工作流。
@@ -24,3 +15,8 @@ icon: video
- **语音引擎**Pipecat 管线支持浏览器 WebRTC 与裸 WebSocket 音频流。
> 凭证只保存在模型资源或助手的服务端配置中;接口返回会自动打码。
## 下一步
- [核心功能](/features):了解助手类型、模型、知识库与工具。
- 本地启动与对接见仓库中的 `docs-developer/`(独立开发者文档站点)。

18
docs-user/logo-dark.svg Normal file
View File

@@ -0,0 +1,18 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 196 48" fill="none">
<defs>
<radialGradient id="sky" cx="0" cy="0" r="1" gradientTransform="matrix(31 0 0 31 14 10)" gradientUnits="userSpaceOnUse">
<stop stop-color="#5F86B8" stop-opacity=".75"/>
<stop offset="1" stop-color="#5F86B8" stop-opacity="0"/>
</radialGradient>
<radialGradient id="lavender" cx="0" cy="0" r="1" gradientTransform="matrix(28 0 0 28 38 39)" gradientUnits="userSpaceOnUse">
<stop stop-color="#8A78AD" stop-opacity=".68"/>
<stop offset="1" stop-color="#8A78AD" stop-opacity="0"/>
</radialGradient>
</defs>
<circle cx="24" cy="24" r="24" fill="#E8EDF9"/>
<circle cx="24" cy="24" r="24" fill="url(#sky)"/>
<circle cx="24" cy="24" r="24" fill="url(#lavender)"/>
<rect x="14" y="17.5" width="14" height="13" rx="2.25" stroke="#0C1426" stroke-width="2.5"/>
<path d="m28 21.25 7-4v13.5l-7-4z" stroke="#0C1426" stroke-width="2.5" stroke-linejoin="round"/>
<text x="61" y="31" fill="#E8EDF9" font-family="Cormorant Garamond, serif" font-size="24" font-weight="400">AI视频助手</text>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

18
docs-user/logo-light.svg Normal file
View File

@@ -0,0 +1,18 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 196 48" fill="none">
<defs>
<radialGradient id="sky" cx="0" cy="0" r="1" gradientTransform="matrix(31 0 0 31 14 10)" gradientUnits="userSpaceOnUse">
<stop stop-color="#A8C8E8" stop-opacity=".8"/>
<stop offset="1" stop-color="#A8C8E8" stop-opacity="0"/>
</radialGradient>
<radialGradient id="lavender" cx="0" cy="0" r="1" gradientTransform="matrix(28 0 0 28 38 39)" gradientUnits="userSpaceOnUse">
<stop stop-color="#C8B8E0" stop-opacity=".72"/>
<stop offset="1" stop-color="#C8B8E0" stop-opacity="0"/>
</radialGradient>
</defs>
<circle cx="24" cy="24" r="24" fill="#E8EDF9"/>
<circle cx="24" cy="24" r="24" fill="url(#sky)"/>
<circle cx="24" cy="24" r="24" fill="url(#lavender)"/>
<rect x="14" y="17.5" width="14" height="13" rx="2.25" stroke="#0C1426" stroke-width="2.5"/>
<path d="m28 21.25 7-4v13.5l-7-4z" stroke="#0C1426" stroke-width="2.5" stroke-linejoin="round"/>
<text x="61" y="31" fill="#0F1B33" font-family="Cormorant Garamond, serif" font-size="24" font-weight="400">AI视频助手</text>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -16,6 +16,7 @@ import {
Home,
LogOut,
PlayCircle,
User,
Video,
} from "lucide-react";
import { useAuth } from "@/components/auth/AuthProvider";
@@ -279,6 +280,13 @@ export function Sidebar({ collapsed, onToggle }: SidebarProps) {
<Bell size={16} />
</DropdownMenuItem>
<DropdownMenuItem
className="h-10 rounded-xl px-3 font-normal"
onSelect={() => router.push("/profile")}
>
<User size={16} />
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem
variant="destructive"