doc update

Former-commit-id: cb298b728c04e8aa97605a46e44ab7483e37059b [formerly cb298b728c04e8aa97605a46e44ab7483e37059b [formerly cb298b728c04e8aa97605a46e44ab7483e37059b [formerly cb298b728c04e8aa97605a46e44ab7483e37059b [formerly 911ee0a8b3092d8349533da6fb045b7edf3cae9e [formerly e4becd3f2e6959a3bc61c45e240c29f5f617d585]]]]]
Former-commit-id: 71eb37e74b0b115e9a22bd8bb0133f0b94b78ee2
Former-commit-id: a7e272d87f5f146343988c6d860e2b9fcc73ddb9
Former-commit-id: 69c6ffd3b7dea123c9c63a1a51428dc427531cfe [formerly 98910e533e636d6d5a2c67f35fb9322b79a7b430]
Former-commit-id: 83a15430a9a355911460e50f97b4d3bb3f399893
Former-commit-id: 9a6cf38ef701ef35e1139b33f1d3731d8d69e598
Former-commit-id: 25ed7e57bfa00b63a23ed16363956bc83e0ab23d
Former-commit-id: 115feb871277d0d4e5957bba14db27abcf28e107
Former-commit-id: 957b684755ff1ab7275143e4de71f10901b6eda7
This commit is contained in:
liyang
2018-08-26 16:55:12 +08:00
parent 2277a764e5
commit d314a7e0c6
6 changed files with 188 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
module.exports = {
base: '/d2-admin-doc/lastest/',
// base: '/d2-admin-doc/lastest/', // 发布到 http://app.d3collection.cn/d2-admin-doc/lastest/
locales: {
'/': {
lang: 'en-US',
@@ -41,7 +41,8 @@ module.exports = {
text: '学习',
items: [
{ text: '教程', link: '/zh/learn-guide/' },
{ text: '相关知识', link: '/zh/learn-knowledge/' }
{ text: '相关知识', link: '/zh/learn-knowledge/' },
{ text: '升级指引', link: '/zh/learn-update/' }
]
},
{
@@ -114,6 +115,7 @@ module.exports = {
],
sidebar: {
'/zh/learn-guide/': sideBarLearnGuide(),
'/zh/learn-update/': sideBarLearnUpdate(),
'/zh/sys-components/': sideBarSysComponents(),
'/zh/sys-plugins/': sideBarSysPlugins(),
'/zh/article/': sideBarArticle('版本发布', 'Cookbook'),
@@ -136,6 +138,18 @@ function sideBarLearnGuide () {
]
}
function sideBarLearnUpdate () {
return [
{
collapsable: false,
children: [
'',
'ice-1.2.6-to-1.2.7.md'
]
}
]
}
function sideBarSysComponents () {
return [
{