config.js 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 revitCenterContent = require("../dev/revit-center/index");
  6. module.exports = {
  7. title: "数字化交付参考文档",
  8. description: "上格云数字化交付参考文档",
  9. base: "/doc/",
  10. // plugins: ["@vuepress/last-updated"],
  11. plugins: ['@vuepress/back-to-top'],
  12. markdown: {
  13. lineNumbers: true
  14. },
  15. themeConfig: {
  16. logo: "/assets/img/logo.png",
  17. nav: [
  18. {text: "首页", link: "/"},
  19. {
  20. text: "服务器安装",
  21. items: [
  22. {text: "CentoOS 部署", link: "/setup/centos/"},
  23. {text: "Windows 部署", link: "/setup/windows/"}
  24. ]
  25. },
  26. {
  27. text: "开发文档",
  28. items: [
  29. {text: "数据中心", link: "/dev/data-center/"},
  30. {text: "物理世界同步", link: "/dev/dataplatform-sync/"},
  31. {text: "模型管理", link: "/dev/revit-center/"},
  32. {
  33. text: "数据库设计",
  34. items: [
  35. { text: "数据中心", link: "/dev/database/datacenter/" },
  36. { text: "系统图", link: "/dev/database/topo/" }
  37. ]
  38. },
  39. {
  40. text: "Web开发",
  41. items: [
  42. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  43. ]
  44. },
  45. {
  46. text: "移动端开发",
  47. items: [
  48. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  49. ]
  50. }
  51. ]
  52. },
  53. {
  54. text: "API参考",
  55. items: [
  56. {
  57. text: "后台开发",
  58. items: [
  59. { text: "后台框架Api参考", link: "http://192.168.20.236:8080/apis/service/" }
  60. ]
  61. },
  62. {
  63. text: "Web开发",
  64. items: [
  65. { text: "Graphy 引擎", link: "http://192.168.20.236:8080/apis/web/graphy/" }
  66. ]
  67. },
  68. {
  69. text: "移动端开发",
  70. items: [
  71. { text: "Android 支持库", link: "http://192.168.20.236:8080/apis/android/" }
  72. ]
  73. }
  74. ]
  75. },
  76. {
  77. text: "编码规范",
  78. items: [
  79. { text: "C#", link: "/style/csharp/" },
  80. { text: "Kotlin", link: "/style/kotlin/" },
  81. { text: "Python", link: "/style/python/" },
  82. { text: "SQL", link: "/style/sql/" },
  83. { text: "TypeScript", link: "/style/typescript/" }
  84. ]
  85. }
  86. ],
  87. displayAllHeaders: true,
  88. sidebarDepth: 2,
  89. sidebar: {
  90. "/setup/" : setupContent,
  91. "/revit/" : revitContent,
  92. "/dev/database/" : databaseContent,
  93. "/dev/data-center/" : dataCenterContent,
  94. "/dev/revit-center/" : revitCenterContent,
  95. }
  96. }
  97. };