1
0

config.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. //参考:
  2. // https://github.com/vuejs/vuepress/blob/master/packages/docs/docs/.vuepress/config.js
  3. // https://vuepress-theme-reco.recoluan.com/views/1.x/
  4. module.exports = {
  5. title: '信息部技术培训-初级篇',
  6. description: '信息部新入职员工培训材料',
  7. // base:'/docs/',
  8. theme: 'vuepress-theme-reco',
  9. themeConfig: {
  10. //腾讯 404 公益配置
  11. noFoundPageByTencent: false,
  12. mode: 'light', // 默认 auto,auto 跟随系统,dark 暗色模式,light 亮色模式
  13. modePicker: false, // 默认 true,false 不显示模式调节按钮,true 则显示
  14. // author
  15. author: 'xxb',
  16. // if your docs are in a different repo from your main project:
  17. docsRepo: 'https://git.xxb.lttc.cn/xxb-train/dev-train-doc',
  18. // if your docs are in a specific branch (defaults to 'master'):
  19. docsBranch: 'master',
  20. // if your docs are not at the root of the repo:
  21. //docsDir: 'doc',
  22. // defaults to false, set to true to enable
  23. editLinks: true,
  24. // custom text for edit link. Defaults to "Edit this page"
  25. editLinkText: '编辑此页面',
  26. lastUpdated: '更新时间', // string | boolean
  27. nav: [
  28. { text: '首页', link: '/' },
  29. { text: 'SQL', link: '/sql/' },
  30. { text: 'C#', link: '/csharp/' },
  31. { text: 'WinForm', link: '/winform/' },
  32. { text: 'WinForm专题', link: '/winformspecialtopic/' },
  33. { text: '小诺', link: '/snowy/' },
  34. ],
  35. sidebar: {
  36. '/sql/': [
  37. {
  38. title: 'SQL简介',
  39. collapsable: false,
  40. children: [
  41. { title: '简介', path: '/sql/' },
  42. { title: '安装', path: '/sql/01.install' },
  43. { title: '库表操作', path: '/sql/02.db&table' },
  44. { title: '单表操作', path: '/sql/03.singletable' },
  45. { title: '多表操作', path: '/sql/04.multitable' },
  46. { title: '分组、聚合函数', path: '/sql/05.group' },
  47. { title: '索引', path: '/sql/06.index' },
  48. { title: '视图', path: '/sql/07.view' },
  49. { title: '触发器', path: '/sql/08.trigger' },
  50. { title: '存储过程', path: '/sql/09.procedure' },
  51. { title: '窗口函数', path: '/sql/10.windowsfunc' },
  52. { title: '事务', path: '/sql/11.transaction' },
  53. { title: '常用函数', path: '/sql/12.commonfunc' },
  54. ],
  55. },
  56. ],
  57. '/csharp/': [{
  58. title: '认识c#',
  59. collapsable: false,
  60. children: [
  61. { title: '简介', path: '/csharp/' },
  62. { title: '数据类型', path: '/csharp/01.dbtype' },
  63. { title: '类', path: '/csharp/02.class' },
  64. { title: '接口、继承与多态', path: '/csharp/03.interface' },
  65. {
  66. title: '基础语法', path: '/csharp/04.syntax', collapsable: true, children: [
  67. { title: '关键字', path: '/csharp/04_1.keyword' },
  68. { title: '运算符和表达式', path: '/csharp/04_2.operator' },
  69. { title: '语句', path: '/csharp/04_3.statement' },
  70. ]
  71. },
  72. { title: '数组与集合', path: '/csharp/05.array' },
  73. { title: '字符串', path: '/csharp/06.string' },
  74. { title: '内存对象', path: '/csharp/07.memoryobject' },
  75. { title: '数据库操作', path: '/csharp/08.dbop' },
  76. {
  77. title: '委托与事件', path: '/csharp/09.delege&event', collapsable: true, children: [
  78. { title: '委托', path: '/csharp/09_1.delege' },
  79. { title: '事件', path: '/csharp/09_2.event' },
  80. { title: '委托事件进阶', path: '/csharp/09_3.advanced' },
  81. ]
  82. },
  83. { title: '泛型', path: '/csharp/10.genericity' },
  84. { title: 'Linq', path: '/csharp/11.linq' },
  85. { title: '语法糖', path: '/csharp/12.sugar' },
  86. { title: '异常处理', path: '/csharp/13.exception' },
  87. ],
  88. },
  89. ],
  90. '/winform/': [
  91. {
  92. title: 'WinForm简介',
  93. collapsable: false,
  94. children: [
  95. { title: 'WinFrom架构简介', path: '/winform/' },
  96. {
  97. title: '功能架构管理', path: '/winform/01.funcframe', children: [
  98. { title: '导出模块配置', path: '/winform/01_1.exportsettings' },
  99. { title: '系统参数定义', path: '/winform/01_2.paramsetting' },
  100. { title: '辅助资料定义', path: '/winform/01_3.auxdatasetting' },
  101. { title: '报表定义', path: '/winform/01_4.report' }
  102. ]
  103. },
  104. { title: '窗体界面设计', path: '/winform/02.formdesign' },
  105. { title: 'WnDataSource', path: '/winform/03.wndatasource' },
  106. { title: '控件库接口', path: '/winform/04.interface' },
  107. { title: '容器控件', path: '/winform/05.container' },
  108. { title: '菜单导航控件', path: '/winform/06.menu&navigator' },
  109. { title: '单值控件', path: '/winform/07.singlecontrol' },
  110. { title: '数据展示控件', path: '/winform/08.datacontrol' }
  111. ],
  112. },
  113. ],
  114. '/winformspecialtopic/': [
  115. {
  116. title: '简介',
  117. collapsable: false,
  118. children: [
  119. { title: '简介', path: '/winformspecialtopic/' },
  120. { title: 'Grid查询', path: '/winformspecialtopic/gridlookup' },
  121. { title: 'Form查询', path: '/winformspecialtopic/formlookup' },
  122. { title: '数据权限', path: '/winformspecialtopic/dataright' },
  123. { title: '常用方法', path: '/winformspecialtopic/commonfunc' },
  124. ]
  125. }
  126. ],
  127. '/snowy/': [
  128. {
  129. title: '小诺',
  130. collapsable: false,
  131. children: [
  132. { title: '小诺', path: '/snowy/' },
  133. ]
  134. }
  135. ],
  136. },
  137. sidebarDepth: 1
  138. },
  139. head: [
  140. ['link', { rel: 'icon', href: '/logo.png' }],
  141. // ['script', {}, `
  142. // var _hmt = _hmt || [];
  143. // (function() {
  144. // var hm = document.createElement("script");
  145. // hm.src = "https://hm.baidu.com/hm.js?d6b9b94a6fafaa41c63920e1af80bcaf";
  146. // var s = document.getElementsByTagName("script")[0];
  147. // s.parentNode.insertBefore(hm, s);
  148. // })();
  149. // `]
  150. ]
  151. }