build(aio): use dedicated overview for decorator API docs
This commit is contained in:
parent
3abf208235
commit
470a7c6bcd
|
@ -3,7 +3,7 @@
|
|||
{% extends 'export-base.template.html' %}
|
||||
|
||||
{% block details %}
|
||||
{% include "includes/interface-overview.html" %}
|
||||
{% include "includes/decorator-overview.html" %}
|
||||
{% include "includes/description.html" %}
|
||||
{$ memberHelper.renderMemberDetails(doc.members, 'metadata-members', 'metadata-member', 'Metadata Properties') $}
|
||||
{% endblock %}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{% import "lib/memberHelpers.html" as memberHelper -%}
|
||||
|
||||
<section class="decorator-overview">
|
||||
<h2>Metadata Overview</h2>
|
||||
<code-example language="ts" hideCopy="true">
|
||||
@{$ doc.name $}{$ doc.typeParams | escape $}({ {% if doc.members.length %}{% for member in doc.members %}{% if not member.internal %}
|
||||
<a class="code-anchor" href="#{$ member.anchor $}">{$ memberHelper.renderMember(member) $}</a>{% endif %}{% endfor %}{% endif %}
|
||||
})
|
||||
</code-example>
|
||||
</section>
|
Loading…
Reference in New Issue