build(aio): do not render annotations block for directives

This commit is contained in:
Peter Bacon Darwin 2017-09-11 13:55:52 +01:00 committed by Matias Niemelä
parent 77d24afea3
commit a2b50ec8c9
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,6 @@
{$ memberHelpers.renderMemberDetails(doc.statics, 'static-members', 'static-member', 'Static Members') $} {$ memberHelpers.renderMemberDetails(doc.statics, 'static-members', 'static-member', 'Static Members') $}
{% if doc.constructorDoc %}{$ memberHelpers.renderMemberDetails([doc.constructorDoc], 'constructors', 'constructor', 'Constructor') $}{% endif %} {% if doc.constructorDoc %}{$ memberHelpers.renderMemberDetails([doc.constructorDoc], 'constructors', 'constructor', 'Constructor') $}{% endif %}
{$ memberHelpers.renderMemberDetails(doc.members, 'instance-members', 'instance-member', 'Members') $} {$ memberHelpers.renderMemberDetails(doc.members, 'instance-members', 'instance-member', 'Members') $}
{% include "includes/annotations.html" %} {% block annotations %}{% include "includes/annotations.html" %}{% endblock %}
{% endblock %} {% endblock %}

View File

@ -9,3 +9,5 @@
{$ directiveHelper.renderBindings(doc.outputs, 'outputs', 'output', 'Outputs') $} {$ directiveHelper.renderBindings(doc.outputs, 'outputs', 'output', 'Outputs') $}
{% include "includes/export-as.html" %} {% include "includes/export-as.html" %}
{% endblock %} {% endblock %}
{% block annotations %}{% endblock %}