no message

Former-commit-id: 5c8be8a85b0cba2a1e1e89ea72c8ac59087df61d [formerly e491df6b119dd8da11efb95abb874662933081a0] [formerly 5c8be8a85b0cba2a1e1e89ea72c8ac59087df61d [formerly e491df6b119dd8da11efb95abb874662933081a0] [formerly 5c8be8a85b0cba2a1e1e89ea72c8ac59087df61d [formerly e491df6b119dd8da11efb95abb874662933081a0] [formerly e491df6b119dd8da11efb95abb874662933081a0 [formerly 731aaa1eab6bea292c3246c1fcc6d154bcf6d2f2 [formerly 19ce0ba792ec5592397d7cf6686984be7a25e13f]]]]]
Former-commit-id: 9f29fe6a9ba6d0a52a7f67e479d1f2cb7b1546b4
Former-commit-id: c6add3f6ad0f1d68250c6706dceafea380023838
Former-commit-id: 88152175823504d5841a89a5c1ae8a4b8a4714d4 [formerly 21979818846cf1375188a7528f95de56121f1d86]
Former-commit-id: 7022a178ed883532fa196eb75f62fa06fe35330c
Former-commit-id: 989add9a5aec12f7318f90473ccaab49eb6524f7
Former-commit-id: caed0f3751abb43abe3b531408f406c7bd4b23a1
Former-commit-id: 2b8f548a46d5a241f6602a240b27d56104ad66d2
Former-commit-id: ea94c865ded4988f3af665cc5d82d0bfa38228df
This commit is contained in:
liyang
2018-08-19 10:36:05 +08:00
parent a41a927282
commit fbc38520d4
36 changed files with 80 additions and 2034 deletions

View File

@@ -41,106 +41,72 @@ module.exports = {
editLinkText: '在 GitHub 上编辑此页',
lastUpdated: '最后更新',
nav: [
{ text: '指南', link: '/zh/guide/' },
{ text: '插件', link: '/zh/plugins/' },
{ text: '组件', link: '/zh/components/' },
{ text: '文章', link: '/zh/article/' },
{ text: '其它', link: '/zh/others/' },
{ text: '预览', link: 'https://fairyever.gitee.io/d2-admin-preview/#/index' }
{
text: '学习',
items: [
{ text: '教程', link: '/zh/learn-guide/' },
{ text: '相关知识', link: '/zh/learn-knowledge/' }
]
},
{
text: '系统',
items: [
{ text: '内置组件', link: '' },
{ text: '插件', link: '' },
{ text: 'vuex', link: '' },
{ text: '菜单', link: '' },
{ text: '路由', link: '' },
{ text: '主题系统', link: '' },
{ text: '数据持久化', link: '' },
{ text: 'CSS 实用类', link: '' },
{ text: 'JS Util', link: '' }
]
},
{
text: '生态',
items: [
{ text: 'D2 Admin start kit', link: '' },
{ text: 'D2 Admin ICE', link: '' },
{ text: 'D2 CRUD', link: '' },
{ text: 'D2 Ribbons', link: '' }
]
},
{
text: '其它',
items: [
{ text: '文章归档', link: '' },
{ text: '更新日志', link: '' },
{ text: '参与者名单', link: '' },
{
text: '关注我们',
items: [
{ text: '掘金', link: '' },
{ text: 'CSDN', link: '' },
{ text: 'segmentfault', link: '' },
{ text: '知乎', link: '' },
{ text: '微信公众号', link: '' }
]
}
]
},
{ text: '常见问题', link: '' }
],
sidebar: {
'/zh/guide/': sideBarGuide('指南'),
'/zh/plugins/': sideBarPlugins('插件'),
'/zh/components/': sideBarComponents('组件'),
'/zh/article/': sideBarArticle('Cookbook', '版本更新'),
'/zh/others/': sideBarOthers('其它')
'/zh/learn-guide/': sideBarLearnGuide()
}
}
}
}
}
function sideBarGuide (title) {
function sideBarLearnGuide () {
return [
{
title,
collapsable: false,
children: [
'',
'getting-started',
'question',
'plagiarize',
'change-log'
'getting-started'
]
}
]
}
function sideBarPlugins () {
return [
'',
'data-export',
'data-import',
'i18n',
'mock',
'vuex',
'util'
]
}
function sideBarComponents (title) {
return [
{
title,
collapsable: false,
children: [
'',
'charts',
'charts-new',
'container',
'count-up',
'highlight',
'icon-select',
'icon-svg',
'icon',
'markdown'
]
}
]
}
function sideBarArticle (titleCookBook, titleUpdate) {
return [
{
title: titleCookBook,
collapsable: false,
children: [
'cookbook/what-is-cookbook',
'cookbook/combinable-questionnaire',
]
},
{
title: titleUpdate,
collapsable: false,
children: [
'update/ice-1.1.2',
'update/1.1.5',
'update/1.1.4',
'update/0.0.0'
]
}
]
}
function sideBarOthers (title) {
return [
{
title,
collapsable: false,
children: [
'',
'css'
]
}
]
}
}