chore(doc-gen): don't show private class members in jade templates
Closes #1366
This commit is contained in:
parent
7fb2f2069c
commit
ce431f279e
|
@ -28,7 +28,7 @@ p.location-badge.
|
||||||
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{%- for member in doc.members %}
|
{%- for member in doc.members %}{% if not member.private %}
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
h3 {$ member.name $}
|
h3 {$ member.name $}
|
||||||
|
|
||||||
|
@ -38,11 +38,12 @@ p.location-badge.
|
||||||
{$ member.name $}{$ paramList(member.params) | indent(4, true) | trim $}
|
{$ member.name $}{$ paramList(member.params) | indent(4, true) | trim $}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
:markdown
|
:markdown
|
||||||
|
}
|
||||||
{$ member.description | indent(6, true) | replace('## Example', '') | replace('# Example', '') $}
|
{$ member.description | indent(6, true) | replace('## Example', '') | replace('# Example', '') $}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% endfor %}
|
{% endif %}{% endfor %}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue