From 251930f183b1bc798876e21a42cbc53623be5776 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Thu, 9 Feb 2017 17:53:34 +0800 Subject: [PATCH] docs: fix some link --- components/date-picker/index.en-US.md | 4 ++-- components/date-picker/index.zh-CN.md | 4 ++-- components/popconfirm/index.zh-CN.md | 2 +- components/popover/index.zh-CN.md | 2 +- docs/react/introduce.zh-CN.md | 4 ++-- docs/react/use-with-create-react-app.en-US.md | 2 +- docs/react/use-with-create-react-app.zh-CN.md | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index f615930c92..e10628a4c4 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -56,7 +56,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker. | defaultValue | to set default date | [moment](http://momentjs.com/) | - | | format | to set the date format, refer to [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" | | onChange | a callback function, can be executed when the selected time is changing | function(date: moment, dateString: string) | - | -| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#api) | +| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#API) | | showToday | whether to show "Today" button | boolean | true | | disabledTime | to specify the time that cannot be selected | function(date) | - | @@ -78,7 +78,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker. | defaultValue | to set default date | [[moment](http://momentjs.com/), [moment](http://momentjs.com/)] | - | | format | to set the date format | string | "YYYY-MM-DD HH:mm:ss" | | onChange | a callback function, can be executed when the selected time is changing | function(dates: [moment, moment], dateStrings: [string, string]) | - | -| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#api) | +| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/components/time-picker/#API) | | disabledTime | to specify the time that cannot be selected | function(dates: [moment, moment], partial: `'start'|'end'`) | - | | ranges | preseted ranges for quick selection | { [range: string]: [moment](http://momentjs.com/)[] } | - | diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index a5ecb88de2..75f3e4c261 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -57,7 +57,7 @@ moment.locale('zh-cn'); | defaultValue | 默认日期 | [moment](http://momentjs.com/) | 无 | | format | 展示的日期格式,配置参考 [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" | | onChange | 时间发生变化的回调 | function(date: moment, dateString: string) | 无 | -| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/components/time-picker/#api) | +| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/components/time-picker/#API) | | showToday | 是否展示“今天”按钮 | boolean | true | | disabledTime | 不可选择的时间 | function(date) | 无 | @@ -79,7 +79,7 @@ moment.locale('zh-cn'); | defaultValue | 默认日期 | [moment](http://momentjs.com/)[] | 无 | | format | 展示的日期格式 | string | "YYYY-MM-DD HH:mm:ss" | | onChange | 时间发生变化的回调,发生在用户选择时间时 | function(dates: [moment, moment], dateStrings: [string, string]) | 无 | -| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/components/time-picker/#api) | +| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/components/time-picker/#API) | | disabledTime | 不可选择的时间 | function(dates: [moment, moment], partial: `'start'|'end'`) | 无 | | ranges | 预设事件范围快捷选择 | { [range: string]: [moment](http://momentjs.com/)[] } | 无 | diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index 93640ddc70..42468effc5 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -23,7 +23,7 @@ title: Popconfirm | okText | 确认按钮文字 | string | 确定 | | cancelText| 取消按钮文字 | string | 取消 | -更多属性请参考 [Tooltip](/components/tooltip-cn/#API)。 +更多属性请参考 [Tooltip](/components/tooltip/#API)。 ## 注意 diff --git a/components/popover/index.zh-CN.md b/components/popover/index.zh-CN.md index 4fe5a7d133..1dcf0679f2 100644 --- a/components/popover/index.zh-CN.md +++ b/components/popover/index.zh-CN.md @@ -20,7 +20,7 @@ title: Popover | title | 卡片标题 | string\|ReactNode | 无 | | content | 卡片内容 | string\|ReactNode | 无 | -更多属性请参考 [Tooltip](/components/tooltip-cn/#API)。 +更多属性请参考 [Tooltip](/components/tooltip/#API)。 ## 注意 diff --git a/docs/react/introduce.zh-CN.md b/docs/react/introduce.zh-CN.md index e90f029768..6f192f25fd 100644 --- a/docs/react/introduce.zh-CN.md +++ b/docs/react/introduce.zh-CN.md @@ -36,7 +36,7 @@ title: Ant Design of React 现代浏览器和 IE9 及以上。 -> [更多兼容性信息](/docs/react/getting-started-cn#兼容性) +> [更多兼容性信息](/docs/react/getting-started#兼容性) ## 版本 @@ -126,7 +126,7 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less' - [常见问题](https://github.com/ant-design/ant-design/wiki/FAQ) - [CodePen 模板](http://codepen.io/benjycui/pen/KgPZrE?editors=001) for bug reports - [Awesome Ant Design](https://github.com/websemantics/awesome-ant-design) -- [定制主题](/docs/react/customize-theme-cn) +- [定制主题](/docs/react/customize-theme) ## 谁在使用 diff --git a/docs/react/use-with-create-react-app.en-US.md b/docs/react/use-with-create-react-app.en-US.md index 25d8924f60..8557a03c53 100644 --- a/docs/react/use-with-create-react-app.en-US.md +++ b/docs/react/use-with-create-react-app.en-US.md @@ -110,7 +110,7 @@ $ yarn run eject ### Import on demand -[babel-plugin-import](https://github.com/ant-design/babel-plugin-import) is a babel plugin for importing components on demand ([principle](/docs/react/getting-started-cn#按需加载)). After eject all config files to antd-demo, we allowed to install it and modify `config/webpack.config.dev.js` now. +[babel-plugin-import](https://github.com/ant-design/babel-plugin-import) is a babel plugin for importing components on demand ([principle](/docs/react/getting-started#Import-on-Demand)). After eject all config files to antd-demo, we allowed to install it and modify `config/webpack.config.dev.js` now. ```bash $ yarn add babel-plugin-import --save-dev diff --git a/docs/react/use-with-create-react-app.zh-CN.md b/docs/react/use-with-create-react-app.zh-CN.md index c22a51bca7..d80f6dd2d6 100644 --- a/docs/react/use-with-create-react-app.zh-CN.md +++ b/docs/react/use-with-create-react-app.zh-CN.md @@ -107,7 +107,7 @@ $ yarn run eject ### 按需加载 -[babel-plugin-import](https://github.com/ant-design/babel-plugin-import) 是一个用于按需加载组件代码和样式的 babel 插件([原理](/docs/react/getting-started-cn#按需加载)),现在我们尝试安装它并修改 `config/webpack.config.dev.js` 文件。 +[babel-plugin-import](https://github.com/ant-design/babel-plugin-import) 是一个用于按需加载组件代码和样式的 babel 插件([原理](/docs/react/getting-started#按需加载)),现在我们尝试安装它并修改 `config/webpack.config.dev.js` 文件。 ```bash $ yarn add babel-plugin-import --save-dev