d426af741c
Harp 0.17 does not allow blank lines to appear between filters and their content. This change ensures that any blank lines that could appear have been trimmed inside Nunkjucks. Closes #3325
22 lines
593 B
HTML
22 lines
593 B
HTML
{% include "lib/githubLinks.html" -%}
|
|
{% include "lib/paramList.html" -%}
|
|
{% extends 'layout/base.template.html' -%}
|
|
|
|
{% block body %}
|
|
.l-main-section
|
|
h2(class="function export") {$ doc.name $}
|
|
|
|
{% if doc.parameters %}
|
|
pre.prettyprint
|
|
code.
|
|
{$ doc.name $}{$ paramList(doc.parameters) | indent(4, true) | trim $}{$ returnType(doc.returnType) $}
|
|
{% endif %}
|
|
|
|
p.location-badge.
|
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
|
defined in {$ githubViewLink(doc) $}
|
|
|
|
:markdown
|
|
{$ doc.description | indent(4, true) | trimBlankLines $}
|
|
|
|
{% endblock %} |