From cb0f95ee7dbdc6cd6fb07d49cd0f8dad94f73af3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jul 2018 12:31:57 +0900 Subject: [PATCH] wip --- locales/ja.yml | 3 --- package.json | 2 +- src/client/docs/api/mixins.pug | 6 ------ 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/locales/ja.yml b/locales/ja.yml index fc790d8c5..9c5174352 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -1092,7 +1092,4 @@ docs: props: name: "名前" type: "型" - optional: "オプション" description: "説明" - yes: "はい" - no: "いいえ" diff --git a/package.json b/package.json index 3663d42c4..2bd8dc6f4 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/client/docs/api/mixins.pug b/src/client/docs/api/mixins.pug index 6762158f8..79665a61e 100644 --- a/src/client/docs/api/mixins.pug +++ b/src/client/docs/api/mixins.pug @@ -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