2015-09-16 02:21:55 -04:00
|
|
|
{% include "lib/githubLinks.html" -%}
|
|
|
|
{% include "lib/paramList.html" -%}
|
|
|
|
{% extends 'layout/base.template.html' -%}
|
|
|
|
|
|
|
|
{% block body %}
|
2015-12-01 18:31:36 -05:00
|
|
|
include {$ relativePath(doc.path, '_util-fns') $}
|
2015-11-03 07:31:01 -05:00
|
|
|
|
|
|
|
h2(class="{$ doc.docType $} export")
|
|
|
|
pre.prettyprint
|
|
|
|
code.
|
|
|
|
export {$ doc.docType $} {$ doc.name $}
|
|
|
|
|
2015-11-17 02:10:18 -05:00
|
|
|
p.location-badge.
|
|
|
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
|
|
|
defined in {$ githubViewLink(doc) $}
|
|
|
|
|
2015-11-10 13:31:46 -05:00
|
|
|
:marked
|
2015-10-17 21:52:30 -04:00
|
|
|
{%- if doc.notYetDocumented %}
|
2015-10-18 07:07:03 -04:00
|
|
|
*Not Yet Documented*
|
2015-10-17 21:52:30 -04:00
|
|
|
{% else %}
|
2015-09-17 20:51:32 -04:00
|
|
|
{$ doc.description | indentForMarkdown(2) | trimBlankLines $}
|
2015-09-30 04:13:23 -04:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% block additional %}
|
|
|
|
{% endblock %}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-11-13 06:40:00 -05:00
|
|
|
{% block annotations %}
|
2015-11-03 07:26:56 -05:00
|
|
|
{%- if doc.decorators.length %}
|
2015-09-16 02:21:55 -04:00
|
|
|
.l-main-section
|
|
|
|
h2 Annotations
|
|
|
|
{%- for decorator in doc.decorators %}
|
|
|
|
.l-sub-section
|
2015-11-03 07:30:11 -05:00
|
|
|
h3.annotation
|
|
|
|
pre.prettyprint
|
|
|
|
code.
|
2015-11-10 13:34:23 -05:00
|
|
|
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(10, false) $}{% endfor %}{% endif %}
|
2015-11-13 06:40:00 -05:00
|
|
|
{% endblock %}
|
|
|
|
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-11-13 06:56:44 -05:00
|
|
|
{%- if doc.constructorDoc and not doc.constructorDoc.internal %}
|
2015-11-13 07:05:16 -05:00
|
|
|
.l-main-section
|
|
|
|
h2 Constructor
|
2015-09-16 02:21:55 -04:00
|
|
|
.l-sub-section
|
2015-11-03 07:30:11 -05:00
|
|
|
h3#{$ doc.constructorDoc.name | toId $}
|
|
|
|
pre.prettyprint
|
|
|
|
code.
|
|
|
|
{$ doc.constructorDoc.name $}{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
2015-11-10 13:31:46 -05:00
|
|
|
:marked
|
2015-11-13 11:34:57 -05:00
|
|
|
{%- if doc.constructorDoc.notYetDocumented %}
|
|
|
|
*Not Yet Documented*
|
|
|
|
{% else %}
|
2015-09-17 20:51:32 -04:00
|
|
|
{$ doc.constructorDoc.description | indentForMarkdown(6) | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
2015-11-13 11:34:57 -05:00
|
|
|
{% endif -%}
|
2015-11-13 07:05:16 -05:00
|
|
|
{% endif %}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-11-13 07:05:16 -05:00
|
|
|
{% if doc.members.length -%}
|
|
|
|
.l-main-section
|
|
|
|
h2 Members
|
2015-10-02 17:44:57 -04:00
|
|
|
{%- for member in doc.members %}{% if not member.internal %}
|
2015-09-16 02:21:55 -04:00
|
|
|
.l-sub-section
|
2015-11-03 07:30:11 -05:00
|
|
|
h3#{$ member.name | toId $}
|
|
|
|
pre.prettyprint
|
|
|
|
code.
|
|
|
|
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-11-10 13:31:46 -05:00
|
|
|
:marked
|
2015-11-13 11:34:57 -05:00
|
|
|
{%- if member.notYetDocumented %}
|
|
|
|
*Not Yet Documented*
|
|
|
|
{% else %}
|
2015-09-17 20:51:32 -04:00
|
|
|
{$ member.description | indentForMarkdown(6) | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
2015-11-13 11:34:57 -05:00
|
|
|
{% endif %}
|
2015-09-16 02:21:55 -04:00
|
|
|
{% endif %}{% endfor %}
|
|
|
|
{%- endif -%}
|
|
|
|
|
|
|
|
{% endblock %}
|