fix docs href
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…
Reference in New Issue