config.js 3.2 KB

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