[bugfix] Doc: 修复文档错误 (#239)

* 修复文档中的错误

* 修改 pr template
This commit is contained in:
Yao 2018-05-12 17:12:51 +08:00 committed by GitHub
parent 026813e4ae
commit 3286da1706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View File

@ -3,7 +3,7 @@
### 认真写 PR 的标题,会用于生成 change log。
#### 标题规则
[bug fix / breaking change / new feature / improvement] 组件名字:修改内容描述
[bugfix / breaking change / new feature / improvement] 组件名字:修改内容描述
说明:
* 前面方括号用来区分 Issue / PR 的 类型bug fix - 改 bugbreaking change: 不兼容的改动new feature新功能

View File

@ -36,7 +36,8 @@ module.exports = {
include: {
icon: require('./packages/icon/README.md'),
btn: require('./packages/btn/README.md'),
helper: require('./packages/helper/README.md')
helper: require('./packages/helper/README.md'),
loading: require('./packages/loading/README.md')
}
},
{
@ -84,6 +85,6 @@ module.exports = {
}
}
],
include: { loading: require('./packages/loading/README.md') }
include: { 'datetime-picker': require('./packages/datetime-picker/README.md') }
}
}

View File

@ -26,9 +26,9 @@
#### 按钮大小
按钮支持额外三种大小 large, small, mini
```html
<zan-button type="large">确认付款</zan-button>
<zan-button type="small">取消订单</zan-button>
<zan-button type="mini">确认付款</zan-button>
<zan-button size="large">确认付款</zan-button>
<zan-button size="small">取消订单</zan-button>
<zan-button size="mini">确认付款</zan-button>
```
#### 其他