diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index ad790c71..1c132cb3 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -72,10 +72,10 @@ module.exports = { { text: 'D2 Ribbons', link: '/zh/ecosystem-d2-ribbons/' } ] }, + { text: '文章', link: '/zh/article/' }, { text: '其它', items: [ - { text: '文章归档', link: '/zh/article/' }, { text: '更新日志', link: '/zh/change-log/' }, { text: '参与者名单', link: '/zh/collaborator/' }, { @@ -102,7 +102,7 @@ module.exports = { '/zh/learn-guide/': sideBarLearnGuide(), '/zh/sys-components/': sideBarSysComponents(), '/zh/sys-plugins/': sideBarSysPlugins(), - '/zh/article/': sideBarArticle('版本发布') + '/zh/article/': sideBarArticle('版本发布', 'Cookbook') } } } @@ -153,8 +153,16 @@ function sideBarSysPlugins () { ] } -function sideBarArticle (titleUpdate) { +function sideBarArticle (titleUpdate, titleCookbook) { return [ + { + title: titleCookbook, + collapsable: false, + children: [ + 'cookbook/what-is-cookbook', + 'cookbook/combinable-questionnaire' + ] + }, { title: titleUpdate, collapsable: false, diff --git a/docs/zh/article/cookbook/combinable-questionnaire.md.REMOVED.git-id b/docs/zh/article/cookbook/combinable-questionnaire.md.REMOVED.git-id new file mode 100644 index 00000000..c09f454c --- /dev/null +++ b/docs/zh/article/cookbook/combinable-questionnaire.md.REMOVED.git-id @@ -0,0 +1 @@ +7016ea14567961c24eb1fdee492e0c996099f752 \ No newline at end of file diff --git a/docs/zh/article/cookbook/what-is-cookbook.md b/docs/zh/article/cookbook/what-is-cookbook.md new file mode 100644 index 00000000..53c4758c --- /dev/null +++ b/docs/zh/article/cookbook/what-is-cookbook.md @@ -0,0 +1,3 @@ +# 什么是 Cookbook + +计算机领域的 Cookbook 指的是实用经典案例的意思,是对一些普遍性问题的解决方案的总结和整理。 \ No newline at end of file