This commit is contained in:
syuilo 2017-12-14 22:50:41 +09:00
parent 5b66410031
commit a357d5c6a5
4 changed files with 9 additions and 5 deletions

View file

@ -15,8 +15,8 @@ params:
type: "id(DriveFile)[]" type: "id(DriveFile)[]"
optional: true optional: true
desc: desc:
ja: "添付するメディア" ja: "添付するメディア(1~4つ)"
en: "Media you want to attach" en: "Media you want to attach (1~4)"
- name: "reply_id" - name: "reply_id"
type: "id(Post)" type: "id(Post)"
optional: true optional: true

View file

@ -11,6 +11,8 @@ table
.name .name
font-weight bold font-weight bold
.name
.type .type
.optional
font-family Consolas, 'Courier New', Courier, Monaco, monospace font-family Consolas, 'Courier New', Courier, Monaco, monospace

View file

@ -17,10 +17,9 @@ mixin table(params)
td.name= param.name td.name= param.name
td.type td.type
if param.kind == 'id' if param.kind == 'id'
| #{param.type} (ID of | #{param.type} (
= ' '
a(href=`/docs/api/entities/${param.entity}`)= param.entity a(href=`/docs/api/entities/${param.entity}`)= param.entity
| ) | ID)
else if param.kind == 'entity' else if param.kind == 'entity'
| #{param.type} ( | #{param.type} (
a(href=`/docs/api/entities/${param.entity}`)= param.entity a(href=`/docs/api/entities/${param.entity}`)= param.entity

View file

@ -62,6 +62,9 @@ table
tr tr
border-bottom dashed 1px #eee border-bottom dashed 1px #eee
&:nth-child(odd)
background #fbfbfb
th, td th, td
padding 8px 16px padding 8px 16px