config.ts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. import { defineUserConfig } from 'vuepress'
  2. import recoTheme from 'vuepress-theme-reco'
  3. import { viteBundler } from '@vuepress/bundler-vite'
  4. export default defineUserConfig({
  5. title: "lowflow",
  6. description: "综合智慧云平台(CWP)1",
  7. bundler: viteBundler(),
  8. head: [
  9. ['link', { rel: 'icon', href: '/logo.png' }]
  10. ],
  11. theme: recoTheme({
  12. style: "@vuepress-reco/style-default",
  13. primaryColor: '#409EFF',
  14. logo: "/logo.png",
  15. author: "caixiaofeng",
  16. authorAvatar: "/head.png",
  17. docsRepo: "https://",
  18. docsBranch: "main",
  19. docsDir: "example",
  20. lastUpdatedText: "",
  21. // series 为原 sidebar
  22. series: {
  23. "/docs/business/": [
  24. {
  25. text: "商业版",
  26. children: ["pro"],
  27. },
  28. {
  29. text: "功能介绍",
  30. children: ["formDesigner", "processDesigner",'startProcess','todo'],
  31. },
  32. ],
  33. "/docs/document/": [
  34. {
  35. text: "前端",
  36. children: ["frontend"],
  37. },
  38. {
  39. text: "后端",
  40. children: ["backend","introduction"],
  41. },
  42. ]
  43. },
  44. navbar: [
  45. {text: "主页", link: "/"},
  46. {text: "文档", link: "/docs/document/frontend"},
  47. {text: "授权", link: "/docs/business/pro"},
  48. {
  49. text: "演示地址",
  50. link: ""
  51. },
  52. {
  53. text: "开源版",
  54. children: [
  55. {text: "流程设计器", link: "/docs/theme-reco/theme"},
  56. {text: "转bpmn后端", link: "/blogs/other/guide"},
  57. ],
  58. },
  59. ],
  60. bulletin: {
  61. body: [
  62. {
  63. type: "title",
  64. content: "QQ群/微信群",
  65. },
  66. {
  67. type: "text",
  68. content: `
  69. <ul>
  70. <li>添加微信(备注加群)</li>
  71. <image src="/wx.jpg" alt="wx" width="70" height="70"></image>
  72. </ul>`,
  73. style: "font-size: 12px;",
  74. },
  75. {
  76. type: "text",
  77. content: `
  78. <ul>
  79. <li>QQ群:</li>
  80. </ul>`,
  81. style: "font-size: 12px;",
  82. },
  83. {
  84. type: "hr",
  85. },
  86. {
  87. type: "title",
  88. content: "Gitee/Github",
  89. },
  90. {
  91. type: "text",
  92. content: `
  93. <ul>
  94. <li><a href="">Gitee<a/></li>
  95. <li><a href="https://">Github<a/></li>
  96. </ul>`,
  97. style: "font-size: 12px;",
  98. },
  99. ],
  100. }
  101. }),
  102. // debug: true,
  103. });