2017-05-02 10:08:49 -04:00
|
|
|
{%- if doc.decorators.length %}
|
|
|
|
<section class="annotations">
|
|
|
|
<h2>Annotations</h2>
|
|
|
|
{%- for decorator in doc.decorators %}
|
2017-09-11 08:57:19 -04:00
|
|
|
<code-example hideCopy="true" class="no-box api-heading">@{$ decorator.name $}({$ decorator.arguments $})</code-example>
|
2017-05-02 10:08:49 -04:00
|
|
|
{% if not decorator.notYetDocumented %}{$ decorator.description | marked $}{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</section>
|
|
|
|
{% endif %}
|