api-builder: include `exportAs` info in directive docs

This commit is contained in:
Peter Bacon Darwin 2015-11-13 11:53:45 +00:00
parent dbc95b75af
commit f84534a9e2
1 changed files with 8 additions and 0 deletions

View File

@ -37,4 +37,12 @@
{$ event.memberDoc.description | indentForMarkdown(2) | trimBlankLines $}
{% endfor %}
{% endif %}
{% if doc.directiveOptions.exportAs %}
.l-main-section
h2 Exported As
.l-sub-section
h3.export-as
code {$ doc.directiveOptions.exportAs $}
{% endif %}
{% endblock %}