From 1f7ae756fc8a16d292f273010336596670eb6be1 Mon Sep 17 00:00:00 2001
From: tanjinzhou <415800467@qq.com>
Date: Tue, 10 Dec 2019 17:28:57 +0800
Subject: [PATCH] docs: update docs
---
CHANGELOG.en-US.md | 4 ++--
CHANGELOG.zh-CN.md | 8 ++++----
README-zh_CN.md | 10 +++++-----
README.md | 10 +++++-----
components/date-picker/index.en-US.md | 2 +-
.../__tests__/__snapshots__/demo.test.js.snap | 4 ++--
components/drawer/demo/user-profile.md | 2 +-
.../list/__tests__/__snapshots__/demo.test.js.snap | 14 +++++++-------
components/list/demo/basic.md | 2 +-
components/list/demo/loadmore.md | 2 +-
components/list/demo/resposive.md | 4 ++--
components/list/demo/vertical.md | 2 +-
components/list/index.en-US.md | 6 +++---
components/list/index.zh-CN.md | 6 +++---
.../menu/__tests__/__snapshots__/demo.test.js.snap | 2 +-
components/menu/demo/horizontal.md | 2 +-
components/skeleton/demo/list.md | 2 +-
docs/vue/introduce.en-US.md | 8 ++++----
docs/vue/introduce.zh-CN.md | 8 ++++----
package.json | 2 +-
site/components/layout.vue | 1 -
21 files changed, 50 insertions(+), 51 deletions(-)
diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 333bcdc0a..62ca611ba 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -362,8 +362,8 @@
1.3.0 brings two new Components, a lot of exciting changes and new features.
-- 🔥 Added a new component [Comment](https://vue.ant.design/components/comment/)。
-- 🔥 dded a new component [ConfigProvider](https://vue.ant.design/components/config-provider/) for user to customize some global setting.
+- 🔥 Added a new component [Comment](https://www.antdv.com/components/comment/)。
+- 🔥 dded a new component [ConfigProvider](https://www.antdv.com/components/config-provider/) for user to customize some global setting.
Component Fixes / Enhancements:
diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md
index 25106b832..d7547469f 100644
--- a/CHANGELOG.zh-CN.md
+++ b/CHANGELOG.zh-CN.md
@@ -23,9 +23,9 @@
- 🐞 修复在引用不同 Vue 变量时,无法弹出内容的问题 [6362bf](https://github.com/vueComponent/ant-design-vue/commit/6362bf9edb441c0c0096beca1d2c8727003dbb15)
- 🌟 `Table` `customRender` 添加第三个 column 参数 [#1513](https://github.com/vueComponent/ant-design-vue/pull/1513)
- 🌟 `InputPassword` 添加 focus、blur 方法 [#1485](https://github.com/vueComponent/ant-design-vue/pull/1485)
-- 🐞 修复 `Tooltip` 使用在原生html元素时报错的问题 [#1519](https://github.com/vueComponent/ant-design-vue/issues/1519)
+- 🐞 修复 `Tooltip` 使用在原生 html 元素时报错的问题 [#1519](https://github.com/vueComponent/ant-design-vue/issues/1519)
- 🐞 修复 `Menu` 在 edge 浏览器下报错的问题 [#1492](https://github.com/vueComponent/ant-design-vue/issues/1492)
-- 🐞 修复 `Select` 的 empty 不居中的问题 [#1445](https://github.com/vueComponent/ant-design-vue/pull/1445)
+- 🐞 修复 `Select` 的 empty 不居中的问题 [#1445](https://github.com/vueComponent/ant-design-vue/pull/1445)
- 🐞 修复弹窗类组件内存泄漏问题 [#1483](https://github.com/vueComponent/ant-design-vue/pull/1483)
## 1.4.8
@@ -363,8 +363,8 @@
1.3.0 版本带来了两个新组件,还有很多激动人心的变化和新特性。
-- 🔥 增加了一个新组件 [Comment](https://vue.ant.design/components/comment-cn/)。
-- 🔥 增加了一个新组件 [ConfigProvider](https://vue.ant.design/components/config-provider-cn/) 为组件提供统一的全局化配置。
+- 🔥 增加了一个新组件 [Comment](https://www.antdv.com/components/comment-cn/)。
+- 🔥 增加了一个新组件 [ConfigProvider](https://www.antdv.com/components/config-provider-cn/) 为组件提供统一的全局化配置。
组件修复/功能增强:
diff --git a/README-zh_CN.md b/README-zh_CN.md
index 942a6a40b..2443cc015 100644
--- a/README-zh_CN.md
+++ b/README-zh_CN.md
@@ -1,11 +1,11 @@
-
+
@@ -16,7 +16,7 @@ An enterprise-class UI components based on Ant Design and Vue.
-[](https://vue.ant.design/)
+[](https://www.antdv.com/)
[English](./README.md) | 简体中文 | [官网国内镜像](http://ant-design-vue.gitee.io/docs/vue/introduce-cn/)
@@ -57,9 +57,9 @@ $ yarn add ant-design-vue
## 链接
-- [首页](https://vue.ant.design/)
+- [首页](https://www.antdv.com/)
- [Vue 官方文档](https://cn.vuejs.org/)
-- [Antd React](http://ant.design/)
+- [Ant Design Of React](http://ant.design/)
## 生态
diff --git a/README.md b/README.md
index 4c8f48850..03d784670 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-
+
@@ -16,7 +16,7 @@ An enterprise-class UI components based on Ant Design and Vue.
-[](https://vue.ant.design/)
+[](https://www.antdv.com/)
English | [简体中文](./README-zh_CN.md) | [官网国内镜像](http://ant-design-vue.gitee.io/docs/vue/introduce-cn/)
@@ -57,9 +57,9 @@ If you are in a bad network environment,you can try other registries and tools
## Links
-- [Home page](https://vue.ant.design/)
+- [Home page](https://www.antdv.com/)
- [Vue](https://vuejs.org/)
-- [Ant Design React](http://ant.design/)
+- [Ant Design Of React](http://ant.design/)
## Ecosystem
diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md
index e920079b1..4af08ddd6 100644
--- a/components/date-picker/index.en-US.md
+++ b/components/date-picker/index.en-US.md
@@ -118,7 +118,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke
| ranges | preseted ranges for quick selection | { \[range: string]: [moment](http://momentjs.com/)\[] } \| { \[range: string]: () => [moment](http://momentjs.com/)\[] } | - |
| renderExtraFooter | render extra footer in panel by setting a scoped slot | slot="renderExtraFooter" slot-scope="mode" | - |
| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#API) |
-| showTime.defaultValue | to set default time of selected date, [demo](https://ant.design/components/date-picker/#components-date-picker-demo-disabled-date) | [moment](http://momentjs.com/)\[] | \[moment(), moment()] |
+| showTime.defaultValue | to set default time of selected date, [demo](https://antdv.com/components/date-picker/#components-date-picker-demo-disabled-date) | [moment](http://momentjs.com/)\[] | \[moment(), moment()] |
| value(v-model) | to set date | \[[moment](http://momentjs.com/), [moment](http://momentjs.com/)] | - |
### RangePicker Events
diff --git a/components/drawer/__tests__/__snapshots__/demo.test.js.snap b/components/drawer/__tests__/__snapshots__/demo.test.js.snap
index 6c3a4e68b..947218b7d 100644
--- a/components/drawer/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/drawer/__tests__/__snapshots__/demo.test.js.snap
@@ -37,7 +37,7 @@ exports[`renders ./components/drawer/demo/user-profile.md correctly 1`] = `
@@ -49,7 +49,7 @@ exports[`renders ./components/drawer/demo/user-profile.md correctly 1`] = `
diff --git a/components/drawer/demo/user-profile.md b/components/drawer/demo/user-profile.md
index 0067867e6..a0670e5fd 100644
--- a/components/drawer/demo/user-profile.md
+++ b/components/drawer/demo/user-profile.md
@@ -25,7 +25,7 @@ Use when you need to quickly preview the outline of the object. Such as list ite
View Profile
- {{item.name}}
+ {{item.name}}
-
+
Ant Design, a design language for background applications, is refined by Ant UED Team
@@ -17,7 +17,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
@@ -26,7 +26,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
@@ -35,7 +35,7 @@ exports[`renders ./components/list/demo/basic.md correctly 1`] = `
@@ -352,7 +352,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
@@ -380,7 +380,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
@@ -408,7 +408,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = `
diff --git a/components/list/demo/basic.md b/components/list/demo/basic.md
index 7e9562838..a529e4fae 100644
--- a/components/list/demo/basic.md
+++ b/components/list/demo/basic.md
@@ -15,7 +15,7 @@ Basic list.
- {{item.title}}
+ {{item.title}}
- {{item.name.last}}
+ {{item.name.last}}
#### 响应式的栅格列表
-响应式的栅格列表。尺寸与 [Layout Grid](https://vue.ant.design/components/grid-cn/#Col) 保持一致。
+响应式的栅格列表。尺寸与 [Layout Grid](https://www.antdv.com/components/grid-cn/#Col) 保持一致。
#### Responsive grid list
-Responsive grid list. The size property is as same as [Layout Grid](https://vue.ant.design/components/grid/#Col).
+Responsive grid list. The size property is as same as [Layout Grid](https://www.antdv.com/components/grid/#Col).
```tpl
diff --git a/components/list/demo/vertical.md b/components/list/demo/vertical.md
index 8657058f5..17614ec19 100644
--- a/components/list/demo/vertical.md
+++ b/components/list/demo/vertical.md
@@ -37,7 +37,7 @@ Setting `itemLayout` property with `vertical` to create a vertical list.
const listData = [];
for (let i = 0; i < 23; i++) {
listData.push({
- href: 'https://vue.ant.design/',
+ href: 'https://www.antdv.com/',
title: `ant design vue part ${i}`,
avatar: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
description:
diff --git a/components/list/index.en-US.md b/components/list/index.en-US.md
index 0808028a2..baddb6c0b 100644
--- a/components/list/index.en-US.md
+++ b/components/list/index.en-US.md
@@ -10,10 +10,10 @@
| header | List header renderer | string\|slot | - |
| itemLayout | The layout of list, default is `horizontal`, If a vertical list is desired, set the itemLayout property to `vertical` | string | - |
| rowKey | Item's unique key, could be a string or function that returns a string | string\|Function(record):string | `key` |
-| loading | Shows a loading indicator while the contents of the list are being fetched | boolean\|[object](https://vue.ant.design/components/spin/#API) | false |
+| loading | Shows a loading indicator while the contents of the list are being fetched | boolean\|[object](https://www.antdv.com/components/spin/#API) | false |
| loadMore | Shows a load more content | string\|slot | - |
| locale | i18n text including empty text | object | emptyText: 'No Data'
|
-| pagination | Pagination [config](https://vue.ant.design/components/pagination/#API), hide it by setting it to false | boolean \| object | false |
+| pagination | Pagination [config](https://www.antdv.com/components/pagination/#API), hide it by setting it to false | boolean \| object | false |
| split | Toggles rendering of the split under the list item | boolean | true |
| renderItem | Custom item renderer, slot="renderItem" and slot-scope="item, index" | (item, index) => vNode | | - |
@@ -25,7 +25,7 @@ Properties for pagination.
| -------- | ------------------------------------ | --------------------------- | -------- |
| position | specify the position of `Pagination` | 'top' \| 'bottom' \| 'both' | 'bottom' |
-More about pagination, please check [`Pagination`](https://vue.ant.design/components/pagination/#API).
+More about pagination, please check [`Pagination`](https://www.antdv.com/components/pagination/#API).
### List grid props
diff --git a/components/list/index.zh-CN.md b/components/list/index.zh-CN.md
index df51f5bb1..b3b70d290 100644
--- a/components/list/index.zh-CN.md
+++ b/components/list/index.zh-CN.md
@@ -9,10 +9,10 @@
| grid | 列表栅格配置 | object | - |
| header | 列表头部 | string\|slot | - |
| itemLayout | 设置 `List.Item` 布局, 设置成 `vertical` 则竖直样式显示, 默认横排 | string | - |
-| loading | 当卡片内容还在加载中时,可以用 `loading` 展示一个占位 | boolean\|[object](https://vue.ant.design/components/spin-cn/#API) | false |
+| loading | 当卡片内容还在加载中时,可以用 `loading` 展示一个占位 | boolean\|[object](https://www.antdv.com/components/spin-cn/#API) | false |
| loadMore | 加载更多 | string\|slot | - |
| locale | 默认文案设置,目前包括空数据文案 | object | emptyText: '暂无数据' |
-| pagination | 对应的 `pagination` [配置](https://vue.ant.design/components/pagination-cn/#API), 设置 `false` 不显示 | boolean\|object | false |
+| pagination | 对应的 `pagination` [配置](https://www.antdv.com/components/pagination-cn/#API), 设置 `false` 不显示 | boolean\|object | false |
| size | list 的尺寸 | `default` \| `middle` \| `small` | `default` |
| split | 是否展示分割线 | boolean | true |
| renderItem | 自定义`Item`函数,也可使用 slot="renderItem" 和 slot-scope="item, index" | (item, index) => vNode | | - |
@@ -26,7 +26,7 @@
| -------- | ------------------ | --------------------------- | -------- |
| position | 指定分页显示的位置 | 'top' \| 'bottom' \| 'both' | 'bottom' |
-更多配置项,请查看 [`Pagination`](https://vue.ant.design/components/pagination-cn/#API)。
+更多配置项,请查看 [`Pagination`](https://www.antdv.com/components/pagination-cn/#API)。
### List grid props
diff --git a/components/menu/__tests__/__snapshots__/demo.test.js.snap b/components/menu/__tests__/__snapshots__/demo.test.js.snap
index fdb47cd13..65446698f 100644
--- a/components/menu/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/menu/__tests__/__snapshots__/demo.test.js.snap
@@ -24,7 +24,7 @@ exports[`renders ./components/menu/demo/horizontal.md correctly 1`] = `
-
+
diff --git a/components/menu/demo/horizontal.md b/components/menu/demo/horizontal.md
index de7835c3a..1afc4a903 100644
--- a/components/menu/demo/horizontal.md
+++ b/components/menu/demo/horizontal.md
@@ -28,7 +28,7 @@ Horizontal top navigation menu.
- Navigation Four - Link
diff --git a/components/skeleton/demo/list.md b/components/skeleton/demo/list.md
index 4faf2a8a5..63e59246b 100644
--- a/components/skeleton/demo/list.md
+++ b/components/skeleton/demo/list.md
@@ -43,7 +43,7 @@ Use skeleton in list component.
const listData = [];
for (let i = 0; i < 3; i++) {
listData.push({
- href: 'https://vue.ant.design/',
+ href: 'https://www.antdv.com/',
title: `ant design vue part ${i}`,
avatar: 'https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png',
description:
diff --git a/docs/vue/introduce.en-US.md b/docs/vue/introduce.en-US.md
index b78d0ae64..b70156edb 100644
--- a/docs/vue/introduce.en-US.md
+++ b/docs/vue/introduce.en-US.md
@@ -28,7 +28,7 @@ Following the Ant Design specification, we developed a Vue UI library `antd` tha
## Environment Support
-- Modern browsers and Internet Explorer 9+ (with [polyfills](https://vue.ant.design/docs/vue/getting-started/#Compatibility))
+- Modern browsers and Internet Explorer 9+ (with [polyfills](https://www.antdv.com/docs/vue/getting-started/#Compatibility))
- Server-side Rendering
## Version
@@ -111,9 +111,9 @@ import 'ant-design-vue/dist/antd.css'; // or 'ant-design-vue/dist/antd.less'
## Links
-- [Home Page](https://vue.ant.design/)
-- [Ant Design React](https://ant.design/)
-- [Components](https://vue.ant.design/docs/vue/introduce)
+- [Home Page](https://www.antdv.com/)
+- [Ant Design Of React](https://ant.design/)
+- [Components](https://www.antdv.com/docs/vue/introduce)
- [Change Log](/docs/vue/changelog)
- [CodeSandbox template](https://codesandbox.io/s/2wpk21kzvr) for bug reports
- [Customize Theme](/docs/vue/customize-theme)
diff --git a/docs/vue/introduce.zh-CN.md b/docs/vue/introduce.zh-CN.md
index 7c6bed880..66c1a5094 100644
--- a/docs/vue/introduce.zh-CN.md
+++ b/docs/vue/introduce.zh-CN.md
@@ -28,7 +28,7 @@
## 支持环境
-- 现代浏览器和 IE9 及以上(需要 [polyfills](https://vue.ant.design/docs/vue/getting-started-cn/#兼容性))。
+- 现代浏览器和 IE9 及以上(需要 [polyfills](https://www.antdv.com/docs/vue/getting-started-cn/#兼容性))。
- 支持服务端渲染。
## 版本
@@ -113,9 +113,9 @@ import 'ant-design-vue/dist/antd.css'; // or 'ant-design-vue/dist/antd.less'
## 链接
-- [首页](https://vue.ant.design/)
-- [Ant Design React](https://ant.design/)
-- [组件库](https://vue.ant.design/docs/vue/introduce-cn)
+- [首页](https://www.antdv.com/)
+- [Ant Design Of React](https://ant.design/)
+- [组件库](https://www.antdv.com/docs/vue/introduce-cn)
- [更新日志](/docs/vue/changelog-cn)
- [CodeSandbox 模板](https://codesandbox.io/s/2wpk21kzvr) for bug reports
- [定制主题](/docs/vue/customize-theme-cn)
diff --git a/package.json b/package.json
index daef35e9d..3b5ac4b66 100644
--- a/package.json
+++ b/package.json
@@ -53,7 +53,7 @@
"bugs": {
"url": "https://github.com/vueComponent/ant-design-vue/issues"
},
- "homepage": "https://vue.ant.design/",
+ "homepage": "https://www.antdv.com/",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
diff --git a/site/components/layout.vue b/site/components/layout.vue
index 8f94dc533..c9859b7ee 100644
--- a/site/components/layout.vue
+++ b/site/components/layout.vue
@@ -296,7 +296,6 @@ export default {
)}
-
{!isMobile ? : null}
{!isMobile ? (