api-templates: include type in heading of var-type docs

This commit is contained in:
Peter Bacon Darwin 2015-11-03 12:23:00 +00:00
parent d404a7d2cf
commit ca5553e4eb
1 changed files with 6 additions and 0 deletions

View File

@ -1,9 +1,15 @@
{% include "lib/githubLinks.html" -%} {% include "lib/githubLinks.html" -%}
{% include "lib/paramList.html" -%}
{% extends 'layout/base.template.html' %} {% extends 'layout/base.template.html' %}
{% block body %} {% block body %}
include ../../_util-fns include ../../_util-fns
.l-main-section .l-main-section
h2(class="variable export")
pre.prettyprint
code.
export {$ doc.name $}{$ returnType(doc.returnType) $}
p.location-badge. p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $} defined in {$ githubViewLink(doc) $}