Skip to content

Commit 198748a

Browse files
committed
docs: add changelog docs
1 parent f158873 commit 198748a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

scripts/gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function copyHtml () {
7171
})
7272
const source = [
7373
'docs/vue/*.md',
74+
'*.md',
7475
// '!components/vc-slider/**/*', // exclude vc-slider
7576
]
7677
gulp.src(source).pipe(through2.obj(function z (file, encoding, next) {

site/components/layout.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export default {
8787
{ key: 'getting-started', enTitle: 'Getting Started', title: '快速上手' },
8888
{ key: 'use-with-vue-cli', enTitle: 'Use in vue-cli', title: '在 vue-cli 中使用' },
8989
{ key: 'customize-theme', enTitle: 'Customize Theme', title: '定制主题' },
90+
{ key: 'changelog', enTitle: 'Change Log', title: '更新日志' },
9091
{ key: 'i18n', enTitle: 'Internationalization', title: '国际化' },
9192
]
9293
const docsMenu = []

site/routes.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ export default [
5959
path: 'docs/vue/use-with-vue-cli-cn',
6060
component: () => import('../docs/vue/use-with-vue-cli.zh-CN.md'),
6161
},
62+
{
63+
path: 'docs/vue/changelog',
64+
component: () => import('../CHANGELOG.en-US.md'),
65+
},
66+
{
67+
path: 'docs/vue/changelog-cn',
68+
component: () => import('../CHANGELOG.zh-CN.md'),
69+
},
6270
{ path: '', redirect: '/ant-design/vue/docs/introduce/' },
6371
],
6472
},

0 commit comments

Comments
 (0)