123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- //参考:
- // https://github.com/vuejs/vuepress/blob/master/packages/docs/docs/.vuepress/config.js
- // https://vuepress-theme-reco.recoluan.com/views/1.x/
- module.exports = {
- title: '信息部技术培训-初级篇',
- description: '信息部新入职员工培训材料',
- // base:'/docs/',
- theme: 'vuepress-theme-reco',
- themeConfig: {
- //腾讯 404 公益配置
- noFoundPageByTencent: false,
- mode: 'light', // 默认 auto,auto 跟随系统,dark 暗色模式,light 亮色模式
- modePicker: false, // 默认 true,false 不显示模式调节按钮,true 则显示
- // author
- author: 'xxb',
- // if your docs are in a different repo from your main project:
- docsRepo: 'https://git.xxb.lttc.cn/wangqingjie/xxb_doc',
- // if your docs are in a specific branch (defaults to 'master'):
- docsBranch: 'master',
- // if your docs are not at the root of the repo:
- //docsDir: 'doc',
- // defaults to false, set to true to enable
- editLinks: true,
- // custom text for edit link. Defaults to "Edit this page"
- editLinkText: '编辑此页面',
- lastUpdated: '更新时间', // string | boolean
- nav: [
- {text: '首页', link: '/'},
- {text: 'SQL', link: '/sql/'},
- {text: 'C#', link: '/csharp/'},
- {text: 'WinForm', link: '/winform/'},
- ],
- sidebar: {
- '/sql/': [
- {
- title: 'SQL简介',
- collapsable: false,
- children: [
- {title:'简介', path: '/sql/'},
- {title:'安装', path: '/sql/01.install'},
- {title:'库表操作',path:'/sql/02.db&table'},
- {title:'单表操作',path:'/sql/03.singletable'},
- {title:'多表操作',path:'/sql/04.multitable'},
- {title:'分组、聚合函数',path:'/sql/05.group'},
- {title:'索引',path:'/sql/06.index'},
- {title:'视图',path:'/sql/07.preview'},
- {title:'触发器',path:'/sql/08.trigger'},
- {title:'存储过程',path:'/sql/09.procedure'},
- {title:'窗口函数',path:'/sql/10.windowsfunc'},
- {title:'事务',path:'/sql/11.transaction'},
- {title:'常用函数',path:'/sql/12.commonfunc'},
- ],
- },
- ],
- '/csharp/': [{
- title: '认识c#',
- collapsable: false,
- children: [
- {title: '简介', path: '/csharp/'},
- {title: '数据类型', path: '/csharp/01.dbtype'},
- {title: '类', path: '/csharp/02.class'},
- {title: '接口、继承与多态', path: '/csharp/03.interface'},
- {title: '基础语法', path: '/csharp/04.syntax'},
- {title: '数组与集合', path: '/csharp/05.array'},
- {title: '字符串', path: '/csharp/06.string'},
- {title: '内存对象', path: '/csharp/07.memoryobject'},
- {title: '数据库操作', path: '/csharp/08.dbop'},
- {title: '委托与事件',path: '/csharp/09.delege&event', collapsable:true,children:[
- {title: '委托', path: '/csharp/091.delege'},
- {title: '事件', path: '/csharp/092.event'},
- {title: '委托事件进阶', path: '/csharp/093.advanced'},
- ]},
- {title: '泛型', path: '/csharp/10.genericity'},
- {title: 'Linq', path: '/csharp/11.linq'},
- {title: '语法糖', path: '/csharp/12.sugar'},
- {title: '异常处理', path: '/csharp/13.exception'},
- ],
- },
-
- ],
- '/winform/': [{
- title: 'WinForm简介',
- collapsable: false,
- children: [
- {title: '简介', path: '/winform/'},
- {title: '测试', path: '/winform/test'},
- ],
- },
-
- ],
- },
- sidebarDepth: 1
- },
- head: [
- ['link', {rel: 'icon', href: '/logo.png'}],
- ['script', {}, `
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "https://hm.baidu.com/hm.js?d6b9b94a6fafaa41c63920e1af80bcaf";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- `]
- ]
- }
|