From 11f971579325b6a8ed6c1a5d5235d0a268f96ce2 Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 21 Mar 2018 10:09:48 +0800 Subject: [PATCH] [Doc] fix component link URL (#739) --- README.zh-CN.md | 2 +- docs/markdown/en-US/quickstart.md | 4 +--- docs/markdown/en-US/swipe.md | 2 +- docs/markdown/zh-CN/address-edit.md | 2 +- docs/markdown/zh-CN/intro.md | 4 ++-- docs/markdown/zh-CN/password-input.md | 2 +- docs/markdown/zh-CN/swipe.md | 2 +- docs/src/doc.config.js | 2 +- 8 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index eedf8a9dc..079e6bbe7 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -80,7 +80,7 @@ Vue.use(Vant); ``` -更多内容请参考 [快速上手](https://www.youzanyun.com/zanui/vant#/zh-CN/component/quickstart). +更多内容请参考 [快速上手](https://www.youzanyun.com/zanui/vant#/zh-CN/quickstart). ## 贡献代码 diff --git a/docs/markdown/en-US/quickstart.md b/docs/markdown/en-US/quickstart.md index 781dfbb34..4e7b13bed 100644 --- a/docs/markdown/en-US/quickstart.md +++ b/docs/markdown/en-US/quickstart.md @@ -1,6 +1,4 @@ -## Vant - -Mobile UI Component based on `Vue 2.0` +## Quickstart ### Install diff --git a/docs/markdown/en-US/swipe.md b/docs/markdown/en-US/swipe.md index 5c1965515..394a182a5 100644 --- a/docs/markdown/en-US/swipe.md +++ b/docs/markdown/en-US/swipe.md @@ -22,7 +22,7 @@ Use `autoplay` prop to set autoplay interval ``` #### Image Lazyload -Use [Lazyload](#/zh-CN/component/lazyload) component to lazyload image +Use [Lazyload](#/en-US/lazyload) component to lazyload image ```html diff --git a/docs/markdown/zh-CN/address-edit.md b/docs/markdown/zh-CN/address-edit.md index 53c6d59f5..8a51ab1d0 100644 --- a/docs/markdown/zh-CN/address-edit.md +++ b/docs/markdown/zh-CN/address-edit.md @@ -112,4 +112,4 @@ export default { | address | 详细地址 | `String` | #### 省市县列表数据格式 -请参考 [Area](#/zh-CN/component/area) 组件。 +请参考 [Area](#/zh-CN/area) 组件。 diff --git a/docs/markdown/zh-CN/intro.md b/docs/markdown/zh-CN/intro.md index 48393f4ae..479fc9947 100644 --- a/docs/markdown/zh-CN/intro.md +++ b/docs/markdown/zh-CN/intro.md @@ -16,7 +16,7 @@ ### 快速上手 -请参考 [快速上手](https://www.youzanyun.com/zanui/vant#/zh-CN/component/quickstart). +请参考 [快速上手](https://www.youzanyun.com/zanui/vant#/zh-CN/quickstart). ### 贡献代码 @@ -32,7 +32,7 @@ * [意见反馈](https://github.com/youzan/vant/issues) * [加入我们](https://job.youzan.com) -* [更新日志](https://www.youzanyun.com/zanui/vant#/zh-CN/component/changelog) +* [更新日志](https://www.youzanyun.com/zanui/vant#/zh-CN/changelog) * [React 组件库](https://www.youzanyun.com/zanui/zent) * [微信小程序组件库](https://github.com/youzan/zanui-weapp) * [vant-demo](https://github.com/youzan/vant-demo) diff --git a/docs/markdown/zh-CN/password-input.md b/docs/markdown/zh-CN/password-input.md index df41942e2..1b1e9ecd0 100644 --- a/docs/markdown/zh-CN/password-input.md +++ b/docs/markdown/zh-CN/password-input.md @@ -1,5 +1,5 @@ ## PasswordInput 密码输入框 -密码输入框组件通常与 [数字键盘](#/zh-CN/component/number-keyboard) 组件配合使用 +密码输入框组件通常与 [数字键盘](#/zh-CN/number-keyboard) 组件配合使用 ### 使用指南 ``` javascript diff --git a/docs/markdown/zh-CN/swipe.md b/docs/markdown/zh-CN/swipe.md index 5b0085e75..28b1a40a5 100644 --- a/docs/markdown/zh-CN/swipe.md +++ b/docs/markdown/zh-CN/swipe.md @@ -22,7 +22,7 @@ Vue.use(Swipe).use(SwipeItem); ``` #### 图片懒加载 -配合 [Lazyload](#/zh-CN/component/lazyload) 组件实现图片懒加载 +配合 [Lazyload](#/zh-CN/lazyload) 组件实现图片懒加载 ```html diff --git a/docs/src/doc.config.js b/docs/src/doc.config.js index ab0d46bfb..3cfdb6560 100644 --- a/docs/src/doc.config.js +++ b/docs/src/doc.config.js @@ -323,7 +323,7 @@ module.exports = { }, { path: '/quickstart', - title: 'Getting Started', + title: 'Quickstart', noExample: true }, {