修正api文档生成的一个小问题,它导致api的那些jade文件无法正常编译
This commit is contained in:
parent
eafa80c89b
commit
6a33274e99
|
@ -24,24 +24,30 @@ div(layout="row" layout-xs="column" class="ng-cloak")
|
|||
{% for member in doc.statics %}{% if not member.internal %}
|
||||
pre(class="prettyprint no-bg-with-indent")
|
||||
a(class="code-anchor" href="#{$ member.name $}-anchor")
|
||||
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
|
||||
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
||||
code(class="code-background api-doc-code").
|
||||
{$ member.name | indent(6, false) | trim $}
|
||||
code(class="api-doc-code").
|
||||
{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
||||
{% endif %}{% endfor %}
|
||||
{% endif %}
|
||||
{% if doc.constructorDoc.name %}
|
||||
div(layout="column")
|
||||
pre(class="prettyprint no-bg-with-indent")
|
||||
a(class="code-anchor" href="#constructor")
|
||||
code(class="code-background api-doc-code") {$ doc.constructorDoc.name $}
|
||||
code(class="api-doc-code") {$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
||||
code(class="code-background api-doc-code").
|
||||
{$ doc.constructorDoc.name $}
|
||||
code(class="api-doc-code").
|
||||
{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
||||
{% endif %}
|
||||
{% if doc.members.length %}
|
||||
div(layout="column")
|
||||
{% for member in doc.members %}{% if not member.internal %}
|
||||
pre(class="prettyprint no-bg-with-indent")
|
||||
a(class="code-anchor" href="#{$ member.name $}-anchor")
|
||||
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
|
||||
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
||||
code(class="code-background api-doc-code").
|
||||
{$ member.name | indent(6, false) | trim $}
|
||||
code(class="api-doc-code").
|
||||
{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
||||
{% endif %}{% endfor %}
|
||||
{% endif %}
|
||||
p(class="selector endParens")
|
||||
|
|
Loading…
Reference in New Issue