config.js 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. import { defineConfig } from 'vitepress'
  2. export default defineConfig({
  3. title: "Forge Admin",
  4. description: "基于 Vue3 + Spring Boot 的企业级后台管理框架",
  5. base: "/forge-docs",
  6. ignoreDeadLinks: true,
  7. outDir: './docs-dist',
  8. themeConfig: {
  9. logo: '/logo.png',
  10. siteTitle: 'Forge Admin',
  11. nav: [
  12. { text: '开发指南', link: '/guide/sdd-workflow' },
  13. { text: '前端文档', link: '/frontend/components/overview' },
  14. { text: '后端文档', link: '/backend/modules/overview' },
  15. { text: '社区与支持', link: '/#community-support' },
  16. ],
  17. sidebar: {
  18. '/guide/': [
  19. {
  20. text: '入门',
  21. items: [
  22. { text: '快速入门', link: '/guide/quick-start' },
  23. { text: '环境搭建指南', link: '/guide/environment-setup' },
  24. { text: '部署指南', link: '/guide/deployment-guide' },
  25. ]
  26. },
  27. {
  28. text: '开发指南',
  29. items: [
  30. { text: '渐进式 SDD 开发流程', link: '/guide/sdd-workflow' },
  31. { text: '项目编码规范', link: '/guide/conventions' },
  32. { text: '业务数据源配置教程', link: '/guide/business-datasource-routing' },
  33. { text: '低代码 CRUD 搭建器', link: '/guide/lowcode-crud-builder' },
  34. { text: '低代码应用管理实战教程', link: '/guide/lowcode-app-management' },
  35. { text: '低代码 Java 服务增强', link: '/guide/lowcode-java-extension' },
  36. { text: 'AI 编程 Skill 使用教程', link: '/guide/skill-usage-tutorial' },
  37. { text: '权限体系完整配置指南', link: '/guide/permission-guide' },
  38. { text: '二次开发实战教程', link: '/guide/development-tutorial' },
  39. ]
  40. }
  41. ],
  42. '/frontend/': [
  43. {
  44. text: '前端组件',
  45. items: [
  46. { text: '概览', link: '/frontend/components/overview' },
  47. { text: 'AiForm 表单', link: '/frontend/components/ai-form' },
  48. { text: 'AiTable 表格', link: '/frontend/components/ai-table' },
  49. { text: 'AiCrudPage 页面', link: '/frontend/components/ai-crud-page' },
  50. { text: 'DictSelect 字典选择', link: '/frontend/components/dict-select' },
  51. { text: 'DictTag 字典标签', link: '/frontend/components/dict-tag' },
  52. { text: 'FileUpload 文件上传', link: '/frontend/components/file-upload' },
  53. { text: 'ImageUpload 图片上传', link: '/frontend/components/image-upload' },
  54. { text: 'IconSelector 图标选择', link: '/frontend/components/icon-selector' },
  55. { text: 'DemoBanner 演示横幅', link: '/frontend/components/demo-banner' },
  56. { text: 'SliderCaptchaModal 滑块验证', link: '/frontend/components/slider-captcha-modal' },
  57. { text: 'AiModal AI 模态框', link: '/frontend/components/ai-modal' },
  58. { text: 'BPMN 流程设计器', link: '/frontend/components/bpmn' },
  59. { text: 'FormDesigner 表单设计器', link: '/frontend/components/form-designer' },
  60. ]
  61. },
  62. {
  63. text: '工具函数',
  64. items: [
  65. { text: '概览', link: '/frontend/utils/overview' },
  66. { text: '通用工具', link: '/frontend/utils/common' },
  67. { text: 'HTTP 请求', link: '/frontend/utils/http' },
  68. { text: '加密请求', link: '/frontend/utils/encrypt-request' },
  69. { text: '文件处理', link: '/frontend/utils/file' },
  70. { text: '本地存储', link: '/frontend/utils/storage' },
  71. { text: '加密工具', link: '/frontend/utils/crypto' },
  72. { text: '字典管理', link: '/frontend/utils/dict' },
  73. { text: '新增工具', link: '/frontend/utils/new-utils' },
  74. ]
  75. }
  76. ],
  77. '/backend/': [
  78. {
  79. text: '后端模块',
  80. items: [
  81. { text: '概览', link: '/backend/modules/overview' },
  82. { text: '核心工具', link: '/backend/modules/core' },
  83. { text: '动态配置', link: '/backend/modules/config' },
  84. { text: '分布式幂等', link: '/backend/modules/idempotent' },
  85. { text: 'MyBatis-Plus', link: '/backend/modules/orm' },
  86. { text: '社交登录', link: '/backend/modules/social' },
  87. { text: 'Web 层', link: '/backend/modules/web' },
  88. { text: 'API 配置管理', link: '/backend/modules/api-config' },
  89. { text: '流程引擎客户端', link: '/backend/modules/flow-client' },
  90. { text: 'AI 插件', link: '/backend/modules/ai' },
  91. { text: 'Excel 导出', link: '/backend/modules/excel' },
  92. { text: '文件存储', link: '/backend/modules/file' },
  93. { text: '字典翻译', link: '/backend/modules/trans' },
  94. { text: '分布式 ID', link: '/backend/modules/id' },
  95. { text: '数据权限', link: '/backend/modules/datascope' },
  96. { text: '多租户', link: '/backend/modules/tenant' },
  97. { text: '消息推送', link: '/backend/modules/message' },
  98. { text: 'WebSocket', link: '/backend/modules/websocket' },
  99. { text: '定时任务', link: '/backend/modules/job' },
  100. { text: '操作日志', link: '/backend/modules/log' },
  101. { text: '缓存', link: '/backend/modules/cache' },
  102. { text: '认证授权', link: '/backend/modules/auth' },
  103. { text: '加解密', link: '/backend/modules/crypto' },
  104. ]
  105. }
  106. ]
  107. },
  108. socialLinks: [
  109. { icon: 'github', link: 'https://gitee.com/ForgeLab/forge-admin' }
  110. ]
  111. }
  112. })