api-builder: remove annotation block from directive docs
This commit is contained in:
parent
7239b52984
commit
489ffc9f97
|
@ -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
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
{% include "lib/paramList.html" -%}
|
||||
{% extends 'class.template.html' -%}
|
||||
|
||||
{% block annotations %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block additional -%}
|
||||
.l-main-section
|
||||
h2 Selectors
|
||||
|
|
Loading…
Reference in New Issue