config.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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/common' },
  9. { text: '物理世界', link: '/rwd/' },
  10. { text: '知识库', link: '/dic/' },
  11. { text: '版本管理', link: '/version/' }
  12. ],
  13. sidebarDepth: 2,
  14. displayAllHeaders: true,
  15. sidebar: {
  16. '/utils/common': [
  17. {
  18. title: '通用说明文档',
  19. collapsable: false,
  20. children: [{ title: '通用说明文档', path: '/utils/common' }]
  21. }
  22. ],
  23. '/dic': [
  24. {
  25. title: '知识库接口文档',
  26. collapsable: false,
  27. children: [{ title: '接口文档', path: '/dic/dic_api' }]
  28. },
  29. {
  30. title: '知识库数据结构说明',
  31. collapsable: false,
  32. children: [{ title: '数据结构说明', path: '/dic/data_structure_description' }]
  33. }
  34. ],
  35. '/rwd': [
  36. {
  37. title: '物理世界接口文档',
  38. collapsable: false,
  39. children: [{ title: '接口文档', path: '/rwd/rwd_api' }]
  40. },
  41. {
  42. title: '物理世界数据结构说明',
  43. collapsable: false,
  44. children: [{ title: '数据结构说明', path: '/rwd/data_structure_description' }]
  45. }
  46. ],
  47. '/version': [
  48. {
  49. title: '版本管理接口文档',
  50. collapsable: false,
  51. children: [{ title: '接口文档', path: '/version/version_api' }]
  52. },
  53. {
  54. title: '版本管理数据结构说明',
  55. collapsable: false,
  56. children: [{ title: '数据结构说明', path: '/version/data_structure_description' }]
  57. }
  58. ],
  59. }
  60. }
  61. }