This commit is contained in:
syuilo 2018-07-06 12:31:57 +09:00
parent 029b92935c
commit cb0f95ee7d
3 changed files with 1 additions and 10 deletions

View File

@ -1092,7 +1092,4 @@ docs:
props:
name: "名前"
type: "型"
optional: "オプション"
description: "説明"
yes: "はい"
no: "いいえ"

View File

@ -89,7 +89,7 @@
"autwh": "0.1.0",
"bcryptjs": "2.4.3",
"bootstrap-vue": "2.0.0-rc.11",
"cafy": "11.1.0",
"cafy": "11.2.0",
"chalk": "2.4.1",
"crc-32": "1.2.0",
"css-loader": "0.28.11",

View File

@ -3,7 +3,6 @@ mixin propTable(props)
thead: tr
th= i18n('docs.api.props.name')
th= i18n('docs.api.props.type')
th= i18n('docs.api.props.optional')
th= i18n('docs.api.props.description')
tbody
each prop in props
@ -29,9 +28,4 @@ mixin propTable(props)
| )
else if prop.kind == 'date'
| (Date)
td.optional
if prop.optional
= i18n('docs.api.props.yes')
else
= i18n('docs.api.props.no')
td.desc!= prop.desc ? prop.desc[lang] || prop.desc['ja'] : null