api-templates: display name and type of class-ish docs at top of content

This commit is contained in:
Peter Bacon Darwin 2015-11-03 12:31:01 +00:00
parent 0292deece1
commit b176f42302
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@
{% block body %}
include ../../_util-fns
h2(class="{$ doc.docType $} export")
pre.prettyprint
code.
export {$ doc.docType $} {$ doc.name $}
p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $}