config.js 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. const setupContent = require("../setup/index");
  2. const revitContent = require("../revit/index");
  3. const databaseContent = require("../dev/database/index");
  4. const dataCenterContent = require("../dev/data-center/index");
  5. const paasContent = require("../dev/paas/index");
  6. const revitCenterContent = require("../dev/revit-center/index");
  7. const sagaGraphyContent = require("../dev/saga-graphy/index");
  8. const dataCenterScheme = require("../dev/data-center-scheme/index");
  9. module.exports = {
  10. title: "数字化交付开发文档",
  11. description: "上格云数字化交付开发文档",
  12. base: "/doc/",
  13. plugins: [
  14. "@vuepress/last-updated",
  15. "plugin-back-to-top",
  16. [
  17. 'vuepress-plugin-typescript',
  18. {
  19. tsLoaderOptions: {
  20. },
  21. },
  22. ],
  23. ],
  24. markdown: {
  25. lineNumbers: true
  26. },
  27. themeConfig: {
  28. logo: "/assets/img/logo.png",
  29. nav: [
  30. {text: "首页", link: "/"},
  31. {
  32. text: "服务器安装",
  33. items: [
  34. {text: "CentoOS 部署", link: "/setup/centos/"},
  35. {text: "Windows 部署", link: "/setup/windows/"}
  36. ]
  37. },
  38. {
  39. text: "开发文档",
  40. items: [
  41. {
  42. text: "后台开发",
  43. items: [
  44. {text: "数据中心", link: "/dev/data-center/"},
  45. {text: "物理世界同步", link: "/dev/dataplatform-sync/"},
  46. {text: "模型管理", link: "/dev/revit-center/"},
  47. {text: "数据中台参考", link: "/dev/paas/"}
  48. ]
  49. },
  50. {
  51. text: "Web开发",
  52. items: [
  53. { text: "图形引擎", link: "/dev/saga-graphy/" },
  54. { text: "建筑信息图", link: "/dev/saga-big/" }
  55. ]
  56. },
  57. {
  58. text: "移动端开发",
  59. items: [
  60. { text: "Android 图形引擎", link: "http://http://adm.sagacloud.cn:8080/api/android/graphy/" }
  61. ]
  62. },
  63. {
  64. text: "数据库设计",
  65. items: [
  66. { text: "数据中心", link: "/dev/database/data-center/" },
  67. { text: "系统图", link: "/dev/database/topo/" }
  68. ]
  69. },
  70. {
  71. text: "新版数据字典物理世界对接",
  72. items: [
  73. { text: "新版字典中台工具接口对接", link: "/dev/data-center-scheme/" },
  74. { text: "新版字典ADM对接", link: "/dev/data-center-scheme/" },
  75. { text: "新版字典对接数据中心", link: "/dev/data-center-scheme/" },
  76. { text: "新版物理世界对接数据中心", link: "/dev/data-center-scheme/" }
  77. ]
  78. },
  79. ]
  80. },
  81. {
  82. text: "API参考",
  83. items: [
  84. {
  85. text: "后台开发",
  86. items: [
  87. { text: "Kotlin支持库", link: "http://adm.sagacloud.cn:8080/api/server/kotlin" },
  88. { text: "后台框架库", link: "http://adm.sagacloud.cn:8080/api/server/service" },
  89. { text: "数据中心", link: "http://adm.sagacloud.cn:8080/api/server/datacenter" },
  90. { text: "ADM后台", link: "http://adm.sagacloud.cn:8080/api/server/adm" }
  91. ]
  92. },
  93. {
  94. text: "Web开发",
  95. items: [
  96. { text: "图形引擎", link: "http://adm.sagacloud.cn:8080/api/web/graphy/" },
  97. { text: "建筑信息图", link: "http://adm.sagacloud.cn:8080/api/web/big/" }
  98. ]
  99. },
  100. {
  101. text: "移动端开发",
  102. items: [
  103. { text: "图形引擎", link: "http://http://adm.sagacloud.cn:8080/api/android/graphy/" }
  104. ]
  105. }
  106. ]
  107. },
  108. {
  109. text: "编码规范",
  110. items: [
  111. { text: "C#", link: "/style/csharp/" },
  112. { text: "Kotlin", link: "/style/kotlin/" },
  113. { text: "Python", link: "/style/python/" },
  114. { text: "SQL", link: "/style/sql/" },
  115. { text: "TypeScript", link: "/style/typescript/" }
  116. ]
  117. }
  118. ],
  119. displayAllHeaders: true,
  120. sidebarDepth: 2,
  121. sidebar: {
  122. "/setup/" : setupContent,
  123. "/revit/" : revitContent,
  124. "/dev/database/" : databaseContent,
  125. "/dev/data-center/" : dataCenterContent,
  126. "/dev/paas/" : paasContent,
  127. "/dev/revit-center/" : revitCenterContent,
  128. "/dev/saga-graphy/": sagaGraphyContent,
  129. "/dev/data-center-scheme/" : dataCenterScheme,
  130. }
  131. }
  132. };