Add deprecation to docs

This commit is contained in:
copy 2015-04-12 22:02:58 +02:00
parent d13e6983b5
commit 2f1b420c0c

View file

@ -68,9 +68,15 @@ docfiles.forEach(function(doc)
?><?= "## `" + comment.name + "`\n" ?><?
}
}
if(comment.deprecated)
{
?><?= "\n\n**Deprecated - Might be removed in a later release.**\n\n" ?><?
}
?><?= comment.description + "\n" ?><?
if(comment.paramTags.length)
{
?><?= "**Parameters:**\n\n" ?><?