Fix arg rendering

This commit is contained in:
Brian Beck 2016-11-28 19:22:31 -08:00
parent 2acc80d50e
commit 6a9e4b721c
2 changed files with 258 additions and 258 deletions

File diff suppressed because it is too large Load diff

View file

@ -52,7 +52,7 @@ function renderObject (type, { skipTitle = false } = {}) {
field.args.forEach((arg, i) => {
console.log(' <tr>')
console.log(` <td align="right" valign="top">${arg.name}</td>`)
console.log(` <td valign="top">${renderType(arg.type)}</td>`)
console.log(` <td valign="top">${markdown(renderType(arg.type))}</td>`)
console.log(` <td>${markdown(arg.description)}</td>`)
console.log(' </tr>')
})