api-builder: fix jade whitespace issues in the API templates
This commit is contained in:
parent
bc7a17c4f6
commit
0f61ea288f
|
@ -32,11 +32,7 @@ p.location-badge.
|
|||
h3.annotation
|
||||
pre.prettyprint
|
||||
code.
|
||||
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(8, false) $}
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
|
||||
|
||||
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(10, false) $}{% endfor %}{% endif %}
|
||||
{% if doc.constructorDoc or doc.members.length -%}
|
||||
.l-main-section
|
||||
h2 Members
|
||||
|
|
|
@ -5,11 +5,9 @@
|
|||
{% block additional -%}
|
||||
.l-main-section
|
||||
h2 Selectors
|
||||
.l-sub-section
|
||||
{% for selector in doc.directiveOptions.selector.split(',') %}
|
||||
.l-sub-section{% for selector in doc.directiveOptions.selector.split(',') %}
|
||||
h3.selector
|
||||
code {$ selector $}
|
||||
{% endfor %}
|
||||
code {$ selector $}{% endfor %}
|
||||
|
||||
{% if doc.inputs %}
|
||||
.l-main-section
|
||||
|
|
|
@ -8,7 +8,7 @@ include ../../_util-fns
|
|||
h2(class="function export")
|
||||
pre.prettyprint
|
||||
code.
|
||||
export {$ doc.name $}{$ paramList(doc.parameters) | indent(4, true) | trim $}{$ returnType(doc.returnType) $}
|
||||
export {$ doc.name $}{$ paramList(doc.parameters) | indent(8, true) | trim $}{$ returnType(doc.returnType) $}
|
||||
|
||||
p.location-badge.
|
||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
||||
|
|
Loading…
Reference in New Issue