增加了JavaScript 基础知识章节

Former-commit-id: aff6bce1481c39b372d73213c6726b218d002881 [formerly aff6bce1481c39b372d73213c6726b218d002881 [formerly aff6bce1481c39b372d73213c6726b218d002881 [formerly aff6bce1481c39b372d73213c6726b218d002881 [formerly 555b556d4e97c4c88604bce74a5070e3c11c24c0 [formerly ac2a60db39e5963d0b1c64207b9f61467c4eaba0]]]]]
Former-commit-id: 4c60d58d89b2bcc89710db3091058fda60651982
Former-commit-id: 6a904b856929233978c9fdaefc3317a81f10928d
Former-commit-id: 057336737096bda71dc7e3b6a3b1e427430c6ea2 [formerly 4bb67426c4fddb55e1a2c479986352d08e2db93b]
Former-commit-id: e65878cf8fd66b7c442ef9619a024d59dec6cc8b
Former-commit-id: d1db056657777779e160b9c03a3db2e2f5f53dce
Former-commit-id: 2e2c5300d500eef4dd2519f2be03384b9143c5bb
Former-commit-id: 0317bf1b2120fb668b23758f007d0bdd6bae6100
Former-commit-id: 21dc61fc7490d58e86a3db231e5b4e47aa25eb85
This commit is contained in:
liyang 2018-08-31 10:04:24 +08:00
parent ae60111c35
commit bfe6c48b0e
3 changed files with 15 additions and 5 deletions

View File

@ -41,7 +41,7 @@ module.exports = {
text: '学习',
items: [
{ text: '教程', link: '/zh/learn-guide/' },
{ text: '相关知识', link: '/zh/learn-knowledge/' },
{ text: '基础知识', link: '/zh/learn-knowledge/' },
{ text: '升级指引', link: '/zh/learn-update/' }
]
},
@ -117,6 +117,7 @@ module.exports = {
sidebar: {
'/zh/learn-guide/': sideBarLearnGuide(),
'/zh/learn-update/': sideBarLearnUpdate(),
'/zh/learn-knowledge/': sideBarKnowledge(),
'/zh/sys-components/': sideBarSysComponents(),
'/zh/sys-plugins/': sideBarSysPlugins(),
'/zh/article/': sideBarArticle('版本发布', 'Cookbook'),
@ -151,6 +152,18 @@ function sideBarLearnUpdate () {
]
}
function sideBarKnowledge () {
return [
{
collapsable: false,
children: [
'',
'javascript.md'
]
}
]
}
function sideBarSysComponents () {
return [
{

View File

@ -1,7 +1,3 @@
---
sidebar: auto
---
# 相关知识
使用 D2Admin 首先组要有以下前置知识:

View File

@ -0,0 +1 @@
adaa3d23e2e5f38fc95922e6a324af247d104660