diff --git a/docs/dgeni-package/templates/class.template.html b/docs/dgeni-package/templates/class.template.html index c3072985ab..2b9ac35716 100644 --- a/docs/dgeni-package/templates/class.template.html +++ b/docs/dgeni-package/templates/class.template.html @@ -6,6 +6,7 @@

exported from {$ doc.moduleDoc.id $}

{$ doc.description | marked $}

+{%- if doc.constructorDoc or doc.members.length -%}

Members

{%- if doc.constructorDoc %}

{$ doc.constructorDoc.name $}{$ paramList(doc.constructorDoc.params) $}

@@ -15,5 +16,6 @@

{$ member.name $}{$ paramList(member.params) $}

{$ member.description | marked $}

{% endfor %} +{%- endif -%} {% endblock %} \ No newline at end of file