api-templates: include type in heading of var-type docs
This commit is contained in:
parent
d404a7d2cf
commit
ca5553e4eb
|
@ -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) $}
|
||||||
|
|
Loading…
Reference in New Issue