fix docs href

pull/165/head
tjz 7 years ago
parent 1c1f92619a
commit a95d95539a

@ -123,7 +123,7 @@ function compile (modules) {
const source = [
'components/**/*.js',
'components/**/*.jsx',
'!components/vc-slider/**/*', // exclude vc-slider
// '!components/vc-slider/**/*', // exclude vc-slider
]
const jsFilesStream = babelify(gulp.src(source), modules)
return merge2([less, jsFilesStream, assets])

@ -1,12 +1,12 @@
<cn>
#### 输入时格式化展示
结合 [Tooltip](#/cn/components/tooltip) 组件,实现一个数值输入框,方便内容超长时的全量展现。
结合 [Tooltip](/ant-design/components/tooltip-cn/) 组件,实现一个数值输入框,方便内容超长时的全量展现。
</cn>
<us>
#### Format Tooltip Input
You can use the Input in conjunction with [Tooltip](#/cn/components/tooltip) component to create a Numeric Input, which can provide a good experience for extra-long content display.
You can use the Input in conjunction with [Tooltip](/ant-design/components/tooltip/) component to create a Numeric Input, which can provide a good experience for extra-long content display.
</us>
```html

@ -2,13 +2,13 @@
<cn>
#### 智能提示
输入框自动完成功能,下面是一个账号注册表单的例子。
推荐使用 [AutoComplete](#/cn/components/autoComplete/) 组件。
推荐使用 [AutoComplete](/ant-design/components/auto-complete-cn/) 组件。
</cn>
<us>
#### Automatic completion
Automatic completion of select input.
Using the [AutoComplete](#/cn/components/autoComplete/) component is strongly recommended instead as it is more flexible and capable.
Using the [AutoComplete](/ant-design/components/auto-complete/) component is strongly recommended instead as it is more flexible and capable.
</us>
```html

@ -2,13 +2,13 @@
<cn>
#### 联动
省市联动是典型的例子。
推荐使用 [Cascader](#/cn/components/cascader/) 组件。
推荐使用 [Cascader](/ant-design/components/cascader-cn/) 组件。
</cn>
<us>
#### coordinate
Coordinating the selection of provinces and cities is a common use case and demonstrates how selection can be coordinated.
Using the [Cascader](#/us/components/cascader) component is strongly recommended instead as it is more flexible and capable.
Using the [Cascader](/ant-design/components/cascader) component is strongly recommended instead as it is more flexible and capable.
</us>
```html

@ -19,14 +19,14 @@ const md = {
下拉选择器
## 何时使用
- 弹出一个下拉菜单给用户选择操作用于代替原生的选择器或者需要一个更优雅的多选器时
- 当选项少时少于 5 建议直接将选项平铺使用 [Radio](#/cn/components/radio/) 是更好的选
- 当选项少时少于 5 建议直接将选项平铺使用 [Radio](/ant-design/components/radio-cn/)
## 代码演示`,
us: `# Select
Select component to select value from options.
## When To Use
- A dropdown menu for displaying choices - an elegant alternative to the native \`<select>\` element.
- Utilizing [Radio](#/us/components/radio/) is recommended when there are fewer total options (less than 5).
- Utilizing [Radio](/ant-design/components/radio/) is recommended when there are fewer total options (less than 5).
## Examples `,
}
export default {

@ -1,11 +1,11 @@
<cn>
#### 带输入框的滑块
和 [数字输入框](#/cn/components/input-number/) 组件保持同步。
和 [数字输入框](/ant-design/components/input-number-cn/) 组件保持同步。
</cn>
<us>
#### Slider with InputNumber
Synchronize with [InptNumber](#/us/components/input-number/) component.
Synchronize with [InptNumber](/ant-design/components/input-number/) component.
</us>
```html

@ -26,7 +26,7 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。
- 卡片式的页签提供可关闭的样式常用于容器顶部
- 标准线条式页签用于容器内部的主功能切换这是最常用的 Tabs
- [RadioButton](#/cn/components/radio/components-radio-demo-radiobutton) 可作为更次级的页签来使
- [RadioButton](/ant-design/components/radio-cn/) 使
## 代码演示`,
us: `# Tabs
@ -39,7 +39,7 @@ Ant Design has 3 types of Tabs for different situations.
- Card Tabs: for managing too many closeable views.
- Normal Tabs: for functional aspects of a page.
- [RadioButton](#/us/components/radio/components-radio-demo-radiobutton): for secondary tabs.
- [RadioButton](/ant-design/components/radio/): for secondary tabs.
## Examples `,
}
export default {

Loading…
Cancel
Save