|
| 1 | +import { defineConfig } from "vitepress"; |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: "Open Data Agent", |
| 5 | + description: "面向数据分析场景的 AI 工作台文档", |
| 6 | + lang: "zh-CN", |
| 7 | + base: "/dataagent/", |
| 8 | + srcDir: ".", |
| 9 | + srcExclude: ["README.md", "assets/**"], |
| 10 | + cleanUrls: false, |
| 11 | + themeConfig: { |
| 12 | + logo: "/assets/readme/hero.svg", |
| 13 | + siteTitle: "Open Data Agent", |
| 14 | + nav: [ |
| 15 | + { text: "产品概览", link: "/zh/overview" }, |
| 16 | + { text: "快速开始", link: "/zh/quick-start" }, |
| 17 | + { text: "GitHub", link: "https://github.com/datagallery-lab/dataagent" } |
| 18 | + ], |
| 19 | + sidebar: [ |
| 20 | + { |
| 21 | + text: "入门", |
| 22 | + items: [ |
| 23 | + { text: "文档首页", link: "/zh/" }, |
| 24 | + { text: "产品概览", link: "/zh/overview" }, |
| 25 | + { text: "快速开始", link: "/zh/quick-start" }, |
| 26 | + { text: "能力全览", link: "/zh/capabilities" } |
| 27 | + ] |
| 28 | + }, |
| 29 | + { |
| 30 | + text: "使用指南", |
| 31 | + items: [ |
| 32 | + { text: "Web 工作台", link: "/zh/guides/web-workbench" }, |
| 33 | + { text: "TUI", link: "/zh/guides/tui" }, |
| 34 | + { text: "数据源", link: "/zh/guides/data-sources" } |
| 35 | + ] |
| 36 | + }, |
| 37 | + { |
| 38 | + text: "参考", |
| 39 | + items: [ |
| 40 | + { text: "支持的数据源", link: "/zh/reference/supported-datasources" }, |
| 41 | + { text: "REST API", link: "/zh/reference/rest-api" }, |
| 42 | + { text: "配置 API", link: "/zh/reference/configuration-api" }, |
| 43 | + { text: "Agent Runtime", link: "/zh/reference/agent-runtime" } |
| 44 | + ] |
| 45 | + }, |
| 46 | + { |
| 47 | + text: "架构与安全", |
| 48 | + items: [ |
| 49 | + { text: "架构概览", link: "/zh/architecture/overview" }, |
| 50 | + { text: "安全说明", link: "/zh/security" } |
| 51 | + ] |
| 52 | + } |
| 53 | + ], |
| 54 | + socialLinks: [{ icon: "github", link: "https://github.com/datagallery-lab/dataagent" }], |
| 55 | + search: { |
| 56 | + provider: "local" |
| 57 | + }, |
| 58 | + footer: { |
| 59 | + message: "Apache-2.0 Licensed", |
| 60 | + copyright: "Copyright © DataGallery Lab" |
| 61 | + } |
| 62 | + } |
| 63 | +}); |
0 commit comments