api-builder: remove annotation block from directive docs

This commit is contained in:
Peter Bacon Darwin 2015-11-13 11:40:00 +00:00
parent 7239b52984
commit 489ffc9f97
2 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,7 @@ p.location-badge.
{% block additional %}
{% endblock %}
{% block annotations %}
{%- if doc.decorators.length %}
.l-main-section
h2 Annotations
@ -33,6 +34,8 @@ p.location-badge.
pre.prettyprint
code.
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(10, false) $}{% endfor %}{% endif %}
{% endblock %}
{% if doc.constructorDoc or doc.members.length -%}
.l-main-section
h2 Members

View File

@ -2,6 +2,10 @@
{% include "lib/paramList.html" -%}
{% extends 'class.template.html' -%}
{% block annotations %}
{% endblock %}
{% block additional -%}
.l-main-section
h2 Selectors