build(aio): don't show constructor detail if there is none

This commit is contained in:
Peter Bacon Darwin 2017-09-08 14:07:47 +01:00 committed by Matias Niemelä
parent 290b0b48a9
commit 917d0870e8
1 changed files with 1 additions and 1 deletions

View File

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