chore(doc-gen): don't show private class members in jade templates

Closes #1366
This commit is contained in:
Peter Bacon Darwin 2015-04-28 14:47:17 +01:00
parent 7fb2f2069c
commit ce431f279e
1 changed files with 3 additions and 2 deletions

View File

@ -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 %}