build(docs-infra): ensure all headings are sentence cased (#24527)
PR Close #24527
This commit is contained in:
parent
f3625e424b
commit
45862d0812
|
@ -9,8 +9,8 @@
|
||||||
{% 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(versionInfo, doc.staticMethods, 'static-methods', 'static-method', 'Static Methods') $}
|
{$ memberHelpers.renderMethodDetails(versionInfo, doc.staticMethods, 'static-methods', 'static-method', 'Static methods') $}
|
||||||
{% if doc.constructorDoc %}
|
{% if doc.constructorDoc %}
|
||||||
<h2>Constructor</h2>
|
<h2>Constructor</h2>
|
||||||
{$ memberHelpers.renderMethodDetail(versionInfo, doc.constructorDoc, 'constructor') $}{% endif %}
|
{$ memberHelpers.renderMethodDetail(versionInfo, doc.constructorDoc, 'constructor') $}{% endif %}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% if doc.deprecated %}
|
{% if doc.deprecated %}
|
||||||
<section class="deprecated">
|
<section class="deprecated">
|
||||||
<h2>Deprecation Notes</h2>
|
<h2>Deprecation notes</h2>
|
||||||
{$ doc.deprecated | marked $}
|
{$ doc.deprecated | marked $}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
|
@ -1,6 +1,6 @@
|
||||||
{% if doc.members.length %}
|
{% if doc.members.length %}
|
||||||
<section class="meta-data">
|
<section class="meta-data">
|
||||||
<h2>Metadata Properties</h2>
|
<h2>Metadata properties</h2>
|
||||||
{% for metadata in doc.members %}{% if not metadata.internal %}
|
{% for metadata in doc.members %}{% if not metadata.internal %}
|
||||||
<div class="metadata-member">
|
<div class="metadata-member">
|
||||||
<a name="{$ metadata.name $}" class="anchor-offset"></a>
|
<a name="{$ metadata.name $}" class="anchor-offset"></a>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{%- endfor %} }}</code-example>
|
{%- endfor %} }}</code-example>
|
||||||
|
|
||||||
{% if doc.valueParam.type %}
|
{% if doc.valueParam.type %}
|
||||||
<h2>Input Value</h2>
|
<h2>Input value</h2>
|
||||||
{$ params.renderParameters([doc.valueParam], 'pipe-parameters', 'pipe-parameter', true) $}
|
{$ params.renderParameters([doc.valueParam], 'pipe-parameters', 'pipe-parameter', true) $}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if doc.pipeParams.length %}
|
{% if doc.pipeParams.length %}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% if doc.security %}
|
{% if doc.security %}
|
||||||
<section "security">
|
<section "security">
|
||||||
<h2>Security Risk</h2>
|
<h2>Security risk</h2>
|
||||||
{$ doc.security | marked $}
|
{$ doc.security | marked $}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
|
@ -1,6 +1,6 @@
|
||||||
{%- if doc.see.length %}
|
{%- if doc.see.length %}
|
||||||
<section class="see-also">
|
<section class="see-also">
|
||||||
<h2>See Also</h2>
|
<h2>See also</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for see in doc.see %}
|
{% for see in doc.see %}
|
||||||
<li>{$ see | marked $}</li>{% endfor %}
|
<li>{$ see | marked $}</li>{% endfor %}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% if doc.usageNotes %}
|
{% if doc.usageNotes %}
|
||||||
<section class="usage-notes">
|
<section class="usage-notes">
|
||||||
<h2>Usage Notes</h2>
|
<h2>Usage notes</h2>
|
||||||
{$ doc.usageNotes | marked $}
|
{$ doc.usageNotes | marked $}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue