api-templates: display name and type of class-ish docs at top of content
This commit is contained in:
parent
0292deece1
commit
b176f42302
|
@ -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) $}
|
||||
|
|
Loading…
Reference in New Issue