diff --git a/docs/angular.io-package/templates/class.template.html b/docs/angular.io-package/templates/class.template.html index cd31e928a3..ee4878b56a 100644 --- a/docs/angular.io-package/templates/class.template.html +++ b/docs/angular.io-package/templates/class.template.html @@ -28,7 +28,7 @@ p.location-badge. {% endif -%} -{%- for member in doc.members %} +{%- for member in doc.members %}{% if not member.private %} .l-sub-section h3 {$ member.name $} @@ -38,11 +38,12 @@ p.location-badge. {$ member.name $}{$ paramList(member.params) | indent(4, true) | trim $} {% endif %} :markdown +} {$ member.description | indent(6, true) | replace('## Example', '') | replace('# Example', '') $} -{% endfor %} +{% endif %}{% endfor %} {%- endif -%} {% endblock %} \ No newline at end of file