| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import { defaultTheme } from '@vuepress/theme-default'
- import { defineUserConfig } from 'vuepress'
- import { searchPlugin } from '@vuepress/plugin-search'
- import { viteBundler } from '@vuepress/bundler-vite'
- export default defineUserConfig({
- base: '/',
- lang: 'zh-CN',
- title: 'Tappo',
- description: '智能浏览器自动化工具',
- bundler: viteBundler(),
- theme: defaultTheme({
- logo: '/images/logo.png',
- navbar: [
- { text: '指南', link: '/guide/' },
- { text: '工作流', link: '/workflow/' },
- { text: 'API', link: '/api/' },
- ],
- sidebar: {
- '/guide/': [
- { text: '快速开始', link: '/guide/' },
- { text: '安装引擎', link: '/guide/install' },
- { text: '创建工作流', link: '/guide/create-workflow' },
- { text: '运行工作流', link: '/guide/run-workflow' },
- ],
- '/workflow/': [
- { text: '工作流概述', link: '/workflow/' },
- { text: '浏览器指令', link: '/workflow/browser' },
- { text: '页面操作', link: '/workflow/page' },
- { text: '数据提取', link: '/workflow/data' },
- { text: '流程控制', link: '/workflow/control' },
- ],
- '/api/': [
- { text: 'API 概述', link: '/api/' },
- { text: 'Webhook 触发', link: '/api/webhook' },
- ],
- }
- }),
- plugins: [
- searchPlugin({ locales: { '/': { placeholder: '搜索' } } })
- ]
- })
|