diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-07-15 18:28:08 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-07-15 18:28:08 +0900 |
| commit | 5f5156561fe58b5d842e5505a2293bc94a732a72 (patch) | |
| tree | 9555eaff9375006e05df5adb0a027d96243b5485 /src/client/docs/api/mixins.pug | |
| parent | グローバルタイムラインに返信を含めないように (diff) | |
| download | misskey-5f5156561fe58b5d842e5505a2293bc94a732a72.tar.gz misskey-5f5156561fe58b5d842e5505a2293bc94a732a72.tar.bz2 misskey-5f5156561fe58b5d842e5505a2293bc94a732a72.zip | |
ドキュメントをMarkdownで書くように
Diffstat (limited to 'src/client/docs/api/mixins.pug')
| -rw-r--r-- | src/client/docs/api/mixins.pug | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/client/docs/api/mixins.pug b/src/client/docs/api/mixins.pug deleted file mode 100644 index 9e03abefeb..0000000000 --- a/src/client/docs/api/mixins.pug +++ /dev/null @@ -1,31 +0,0 @@ -mixin propTable(props) - table.props - thead: tr - th= i18n('docs.api.props.name') - th= i18n('docs.api.props.type') - th= i18n('docs.api.props.description') - tbody - each prop in props - tr - td.name= prop.name - td.type - i= prop.type - if prop.kind == 'id' - if prop.entity - | ( - a(href=`/docs/${lang}/api/entities/${kebab(prop.entity)}`)= prop.entity - | ID) - else - | (ID) - else if prop.kind == 'entity' - | ( - a(href=`/docs/${lang}/api/entities/${kebab(prop.entity)}`)= prop.entity - | ) - else if prop.kind == 'object' - if prop.hasDef - | ( - a(href=`#${prop.name}`)= prop.name - | ) - else if prop.kind == 'date' - | (Date) - td.desc!= prop.desc ? prop.desc[lang] || prop.desc['ja'] : null |