config.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. var deploy = require('./sidebar/deploy');
  2. module.exports = {
  3. title: "数字化交付参考文档",
  4. description: "上格云数字化交付参考文档",
  5. base: "/docs/",
  6. // plugins: ["@vuepress/last-updated"],
  7. plugins: ['@vuepress/back-to-top'],
  8. markdown: {
  9. lineNumbers: true
  10. },
  11. themeConfig: {
  12. logo: "/assets/img/logo.png",
  13. nav: [
  14. {text: "首页", link: "/"},
  15. {text: "安装部署", link: "/deploy/"},
  16. {
  17. text: "开发文档",
  18. items: [
  19. {
  20. text: "后台开发",
  21. items: [
  22. {text: "数据中心", link: "/datacenter/"},
  23. {text: "模型管理", link: "/module/"}
  24. ]
  25. },
  26. {
  27. text: "Revit二开",
  28. items: [
  29. {text: "服务端Revit", link: "/revit/datacenter/"},
  30. {text: "Revit插件", link: "/revit/module/"}
  31. ]
  32. },
  33. {
  34. text: "Web开发",
  35. items: [
  36. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  37. ]
  38. },
  39. {
  40. text: "移动端开发",
  41. items: [
  42. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  43. ]
  44. }
  45. ]
  46. },
  47. {
  48. text: "API参考",
  49. items: [
  50. {
  51. text: "后台开发",
  52. items: [
  53. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  54. ]
  55. },
  56. {
  57. text: "Web开发",
  58. items: [
  59. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  60. ]
  61. },
  62. {
  63. text: "移动端开发",
  64. items: [
  65. { text: "Sybotan Graphy 引擎", link: "http://docs.sybotan.com:88/api/web/graphy/" }
  66. ]
  67. }
  68. ]
  69. },
  70. {text: "编码风格", link: "/style/"}
  71. ],
  72. displayAllHeaders: true,
  73. sidebarDepth: 2,
  74. sidebar: {
  75. "/deploy/": deploy
  76. }
  77. }
  78. };