build(aio): class API template once again extends export-base (#22534)
PR Close #22534
This commit is contained in:
parent
1d2bdcb4d0
commit
b64139650c
|
@ -1,29 +1,23 @@
|
||||||
{% import "lib/memberHelpers.html" as memberHelpers -%}
|
{% import "lib/memberHelpers.html" as memberHelpers -%}
|
||||||
{% import "lib/descendants.html" as descendants -%}
|
{% import "lib/descendants.html" as descendants -%}
|
||||||
{% import "lib/paramList.html" as params -%}
|
{% import "lib/paramList.html" as params -%}
|
||||||
{% extends 'base.template.html' -%}
|
{% extends 'export-base.template.html' -%}
|
||||||
|
|
||||||
{% block body %}
|
{% block overview %}
|
||||||
<p class="short-description">{$ doc.shortDescription | marked $}</p>
|
|
||||||
{% include "includes/security-notes.html" %}
|
|
||||||
{% include "includes/deprecation.html" %}
|
|
||||||
{% block overview %}
|
|
||||||
{% include "includes/class-overview.html" %}
|
{% include "includes/class-overview.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block details %}
|
{% block details %}
|
||||||
{% block additional %}{% endblock %}
|
{% block additional %}{% endblock %}
|
||||||
{% include "includes/description.html" %}
|
{% include "includes/description.html" %}
|
||||||
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static Properties') $}
|
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static Properties') $}
|
||||||
{$ memberHelpers.renderMethodDetails(doc.staticMethods, 'static-methods', 'static-method', 'Static Methods') $}
|
{$ memberHelpers.renderMethodDetails(doc.staticMethods, 'static-methods', 'static-method', 'Static Methods') $}
|
||||||
{% if doc.constructorDoc %}
|
{% if doc.constructorDoc %}
|
||||||
<h2>Constructor</h2>
|
<h2>Constructor</h2>
|
||||||
{$ memberHelpers.renderMethodDetail(doc.constructorDoc, 'constructor') $}{% endif %}
|
{$ memberHelpers.renderMethodDetail(doc.constructorDoc, 'constructor') $}{% endif %}
|
||||||
|
|
||||||
{$ memberHelpers.renderProperties(doc.properties, 'instance-properties', 'instance-property', 'Properties') $}
|
{$ memberHelpers.renderProperties(doc.properties, 'instance-properties', 'instance-property', 'Properties') $}
|
||||||
|
|
||||||
{$ memberHelpers.renderMethodDetails(doc.methods, 'instance-methods', 'instance-method', 'Methods') $}
|
{$ memberHelpers.renderMethodDetails(doc.methods, 'instance-methods', 'instance-method', 'Methods') $}
|
||||||
|
|
||||||
{% block annotations %}{% include "includes/annotations.html" %}{% endblock %}
|
{% block annotations %}{% include "includes/annotations.html" %}{% endblock %}
|
||||||
{% endblock %}
|
|
||||||
{% include "includes/usageNotes.html" %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
{% include "includes/security-notes.html" %}
|
{% include "includes/security-notes.html" %}
|
||||||
{% include "includes/deprecation.html" %}
|
{% include "includes/deprecation.html" %}
|
||||||
{% block overview %}{% endblock %}
|
{% block overview %}{% endblock %}
|
||||||
{% include "includes/usageNotes.html" %}
|
|
||||||
{% block details %}{% endblock %}
|
{% block details %}{% endblock %}
|
||||||
|
{% include "includes/usageNotes.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue