chore(doc-gen): render optional members correctly

Partially Closes #2849
This commit is contained in:
Peter Bacon Darwin
2015-07-02 20:01:04 +01:00
parent 561b78a5b3
commit ef3cc8e6eb
6 changed files with 29 additions and 2 deletions

View File

@ -31,7 +31,7 @@ p.location-badge.
{%- for member in doc.members %}{% if not member.private %}
.l-sub-section
h3 {$ member.name $}
h3 {$ member.name $}{% if member.optional %}?{% endif %}
{% if member.parameters %}
pre.prettyprint