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
|
h3.annotation
|
||||||
pre.prettyprint
|
pre.prettyprint
|
||||||
code.
|
code.
|
||||||
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(8, false) $}
|
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(10, false) $}{% endfor %}{% endif %}
|
||||||
{% endfor %}
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
|
|
||||||
{% if doc.constructorDoc or doc.members.length -%}
|
{% if doc.constructorDoc or doc.members.length -%}
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2 Members
|
h2 Members
|
||||||
|
|
|
@ -5,11 +5,9 @@
|
||||||
{% block additional -%}
|
{% block additional -%}
|
||||||
.l-main-section
|
.l-main-section
|
||||||
h2 Selectors
|
h2 Selectors
|
||||||
.l-sub-section
|
.l-sub-section{% for selector in doc.directiveOptions.selector.split(',') %}
|
||||||
{% for selector in doc.directiveOptions.selector.split(',') %}
|
|
||||||
h3.selector
|
h3.selector
|
||||||
code {$ selector $}
|
code {$ selector $}{% endfor %}
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% if doc.inputs %}
|
{% if doc.inputs %}
|
||||||
.l-main-section
|
.l-main-section
|
||||||
|
|
|
@ -8,7 +8,7 @@ include ../../_util-fns
|
||||||
h2(class="function export")
|
h2(class="function export")
|
||||||
pre.prettyprint
|
pre.prettyprint
|
||||||
code.
|
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.
|
p.location-badge.
|
||||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
||||||
|
|
Loading…
Reference in New Issue