config.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. module.exports = {
  2. title: 'BDTP-数据服务',
  3. description: 'Just playing around',
  4. plugins: ['@vuepress/back-to-top'],
  5. themeConfig: {
  6. nav: [
  7. { text: '主页', link: '/' },
  8. { text: '通用说明文档', link: '/utils/' },
  9. { text: '物理世界-对象', link: '/rwd-digital/' },
  10. { text: '物理世界-定义', link: '/rwd-define/' },
  11. { text: '知识库', link: '/dic/' },
  12. { text: '版本管理', link: '/version/' },
  13. { text: '文件服务', link: '/file/' }
  14. ],
  15. sidebarDepth: 2,
  16. displayAllHeaders: true,
  17. sidebar: {
  18. '/utils': [
  19. {
  20. title: '通用说明文档',
  21. collapsable: false,
  22. children: [{ title: '通用说明文档', path: '/utils/common' }]
  23. }
  24. ],
  25. '/dic': [
  26. {
  27. title: '知识库接口文档',
  28. collapsable: false,
  29. children: [{ title: '接口文档', path: '/dic/dic_api' }]
  30. },
  31. {
  32. title: '知识库数据结构说明',
  33. collapsable: false,
  34. children: [{ title: '数据结构说明', path: '/dic/data_structure_description' }]
  35. }
  36. ],
  37. '/rwd-digital': [
  38. {
  39. title: '接口文档',
  40. collapsable: false,
  41. children: [{ title: '接口文档', path: '/rwd-digital/api' }]
  42. },
  43. {
  44. title: '数据结构说明',
  45. collapsable: false,
  46. children: [{ title: '数据结构说明', path: '/rwd-digital/data_structure' }]
  47. }
  48. ],
  49. '/rwd-define': [
  50. {
  51. title: '接口文档',
  52. collapsable: false,
  53. children: [{ title: '接口文档', path: '/rwd-define/api' }]
  54. }
  55. ],
  56. '/version': [
  57. {
  58. title: '版本管理接口文档',
  59. collapsable: false,
  60. children: [{ title: '接口文档', path: '/version/version_api' }]
  61. },
  62. {
  63. title: '版本管理数据结构说明',
  64. collapsable: false,
  65. children: [{ title: '数据结构说明', path: '/version/data_structure_description' }]
  66. }
  67. ],
  68. '/file': [
  69. {
  70. title: '文件服务接口文档',
  71. collapsable: false,
  72. children: [{ title: '接口文档', path: '/file/file_api' }]
  73. },
  74. {
  75. title: '文件服务数据结构说明',
  76. collapsable: false,
  77. children: [{ title: '数据结构说明', path: '/file/data_structure_description' }]
  78. }
  79. ],
  80. }
  81. }
  82. }