config.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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/query' },
  9. { text: '物理世界', link: '/rwd/' },
  10. { text: '知识库', link: '/dic/' }
  11. ],
  12. sidebarDepth: 2,
  13. displayAllHeaders: true,
  14. sidebar: {
  15. '/utils/query': [
  16. {
  17. title: '通用查询接口',
  18. collapsable: false,
  19. children: [{ title: '通用查询', path: '/utils/query' }]
  20. }
  21. ],
  22. '/dic': [
  23. {
  24. title: '知识库',
  25. collapsable: false,
  26. children: [{ title: '接口文档', path: '/dic/dic_api' }, { title: '数据结构设计', path: '/dic/dic_design' }, { title: '知识库', path: '/dic/knowledge' }, { title: '知识库建表语句', path: '/dic/knowledge_ddl_sql' }]
  27. }
  28. ],
  29. '/rwd': [
  30. {
  31. title: '定义数据',
  32. collapsable: false,
  33. children: [{ title: '类型定义', path: '/rwd/def_class' }, { title: '信息点定义', path: '/rwd/def_funcid' }]
  34. },
  35. {
  36. title: '订阅功能',
  37. path: '/rwd/schema'
  38. },
  39. {
  40. title: '实例数据',
  41. collapsable: false,
  42. children: [{ title: '对象数据', path: '/rwd/instance_object' }, { title: '关系数据', path: '/rwd/instance_relation' }]
  43. },
  44. { title: 'IOT', path: '/rwd/iot' }
  45. ],
  46. }
  47. }
  48. }