文档完善
Former-commit-id: e6e11a18a6f8a05c073b04fe11ec0283453d7f98 [formerly 224568f4a4550cf8374a7222093db72e8ecb5cf3] [formerly e6e11a18a6f8a05c073b04fe11ec0283453d7f98 [formerly 224568f4a4550cf8374a7222093db72e8ecb5cf3] [formerly e6e11a18a6f8a05c073b04fe11ec0283453d7f98 [formerly 224568f4a4550cf8374a7222093db72e8ecb5cf3] [formerly 224568f4a4550cf8374a7222093db72e8ecb5cf3 [formerly ebc9042c7026cd65e7e9335cada8bbb14ba4282c [formerly c1e676b76e8051d73e151d77b8e1e7f86175b947]]]]] Former-commit-id: 564445f00d00fc200abea7ee05d6bbca89cfbdb5 Former-commit-id: 85ac241ef4a12e4e258c1587b81ec73a36510ecc Former-commit-id: 36dc42f49e827943b4194912b7783f9a8ba88082 [formerly 66816a7b471406ca91222b732de029e17d1d89b9] Former-commit-id: de1a888accf0cab96d9cf704e810f94aa76fb09c Former-commit-id: acf494a5ac97ce44a690cce46c2df2550f351655 Former-commit-id: 7d6fd553917d933f395cdc73f6aaf68bf209e34a Former-commit-id: f6ed96621495d906a61eb8a2970c350800bbde61 Former-commit-id: 6b1cd49afa8cffa3c3f06f132941563465a7dd89
This commit is contained in:
@@ -44,6 +44,7 @@ module.exports = {
|
||||
{ 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' }
|
||||
],
|
||||
@@ -51,6 +52,7 @@ module.exports = {
|
||||
'/zh/guide/': sideBarGuide('指南'),
|
||||
'/zh/plugins/': sideBarPlugins('插件'),
|
||||
'/zh/components/': sideBarComponents('组件'),
|
||||
'/zh/article/': sideBarArticle('文章'),
|
||||
'/zh/others/': sideBarOthers('其它')
|
||||
}
|
||||
}
|
||||
@@ -104,6 +106,20 @@ function sideBarComponents (title) {
|
||||
]
|
||||
}
|
||||
|
||||
function sideBarArticle (title) {
|
||||
return [
|
||||
{
|
||||
title,
|
||||
collapsable: false,
|
||||
children: [
|
||||
'',
|
||||
'update/1.1.4',
|
||||
'update/0.0.0'
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
function sideBarOthers (title) {
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user