build(aio): class API template once again extends export-base (#22534)

PR Close #22534
This commit is contained in:
Pete Bacon Darwin 2018-03-01 20:19:23 +00:00 committed by Alex Eagle
parent 1d2bdcb4d0
commit b64139650c
2 changed files with 18 additions and 24 deletions

View File

@ -1,16 +1,12 @@
{% import "lib/memberHelpers.html" as memberHelpers -%}
{% import "lib/descendants.html" as descendants -%}
{% import "lib/paramList.html" as params -%}
{% extends 'base.template.html' -%}
{% extends 'export-base.template.html' -%}
{% block body %}
<p class="short-description">{$ doc.shortDescription | marked $}</p>
{% include "includes/security-notes.html" %}
{% include "includes/deprecation.html" %}
{% block overview %}
{% block overview %}
{% include "includes/class-overview.html" %}
{% endblock %}
{% block details %}
{% endblock %}
{% block details %}
{% block additional %}{% endblock %}
{% include "includes/description.html" %}
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static Properties') $}
@ -24,6 +20,4 @@
{$ memberHelpers.renderMethodDetails(doc.methods, 'instance-methods', 'instance-method', 'Methods') $}
{% block annotations %}{% include "includes/annotations.html" %}{% endblock %}
{% endblock %}
{% include "includes/usageNotes.html" %}
{% endblock %}

View File

@ -5,6 +5,6 @@
{% include "includes/security-notes.html" %}
{% include "includes/deprecation.html" %}
{% block overview %}{% endblock %}
{% include "includes/usageNotes.html" %}
{% block details %}{% endblock %}
{% include "includes/usageNotes.html" %}
{% endblock %}