Skip to content
Browse files

docs: print the return value

  • Loading branch information...
1 parent c9d47d0 commit 39b9387d6b08c99fbcce0d7aaca5973445721098 @TooTallNate committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/index.jade
View
6 docs/index.jade
@@ -125,10 +125,14 @@ html(lang="en")
if (!isFunc)
|
span.rtn ⇒ #{doc.type}
- if (doc.paramTypes.length > 0)
+ if (doc.paramTypes.length > 0 || doc.returnType)
ul
each param in doc.paramTypes
li #{param.name} - !{param.description}
+ if (doc.returnType)
+ li
+ strong Return:
+ | !{doc.returnType.description}
!= (doc && doc.description.full || '').replace(/\<br ?\/?\>/g, ' ')

0 comments on commit 39b9387

Please sign in to comment.
Something went wrong with that request. Please try again.