68 lines
1.8 KiB
HTML
68 lines
1.8 KiB
HTML
{% include "lib/githubLinks.html" -%}
|
|
{% include "lib/paramList.html" -%}
|
|
{% extends 'layout/base.template.html' -%}
|
|
|
|
{% block body %}
|
|
include ../../_util-fns
|
|
|
|
h2(class="{$ doc.docType $} export")
|
|
pre.prettyprint
|
|
code.
|
|
export {$ doc.docType $} {$ doc.name $}
|
|
|
|
p.location-badge.
|
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
|
defined in {$ githubViewLink(doc) $}
|
|
|
|
:markdown
|
|
{%- if doc.notYetDocumented %}
|
|
*Not Yet Documented*
|
|
{% else %}
|
|
{$ doc.description | indentForMarkdown(2) | trimBlankLines $}
|
|
{% endif %}
|
|
|
|
{% block additional %}
|
|
{% endblock %}
|
|
|
|
{%- if doc.decorators.length %}
|
|
.l-main-section
|
|
h2 Annotations
|
|
{%- for decorator in doc.decorators %}
|
|
.l-sub-section
|
|
h3.annotation
|
|
pre.prettyprint
|
|
code.
|
|
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(8, false) $}
|
|
{% endfor %}
|
|
{%- endif %}
|
|
|
|
|
|
{% if doc.constructorDoc or doc.members.length -%}
|
|
.l-main-section
|
|
h2 Members
|
|
|
|
{%- if doc.constructorDoc %}
|
|
.l-sub-section
|
|
h3#{$ doc.constructorDoc.name | toId $}
|
|
pre.prettyprint
|
|
code.
|
|
{$ doc.constructorDoc.name $}{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
|
:markdown
|
|
{$ doc.constructorDoc.description | indentForMarkdown(6) | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
|
{% endif -%}
|
|
|
|
{%- for member in doc.members %}{% if not member.internal %}
|
|
.l-sub-section
|
|
h3#{$ member.name | toId $}
|
|
pre.prettyprint
|
|
code.
|
|
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
|
|
|
:markdown
|
|
{$ member.description | indentForMarkdown(6) | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
|
|
|
{% endif %}{% endfor %}
|
|
{%- endif -%}
|
|
|
|
{% endblock %}
|