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 additional %}{% endblock %}
|
||||
{% include "includes/description.html" %}
|
||||
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static Properties') $}
|
||||
{$ memberHelpers.renderMethodDetails(versionInfo, doc.staticMethods, 'static-methods', 'static-method', 'Static Methods') $}
|
||||
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static properties') $}
|
||||
{$ memberHelpers.renderMethodDetails(versionInfo, doc.staticMethods, 'static-methods', 'static-method', 'Static methods') $}
|
||||
{% if doc.constructorDoc %}
|
||||
<h2>Constructor</h2>
|
||||
{$ memberHelpers.renderMethodDetail(versionInfo, doc.constructorDoc, 'constructor') $}{% endif %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% if doc.deprecated %}
|
||||
<section class="deprecated">
|
||||
<h2>Deprecation Notes</h2>
|
||||
<h2>Deprecation notes</h2>
|
||||
{$ doc.deprecated | marked $}
|
||||
</section>
|
||||
{% endif %}
|
|
@ -1,6 +1,6 @@
|
|||
{% if doc.members.length %}
|
||||
<section class="meta-data">
|
||||
<h2>Metadata Properties</h2>
|
||||
<h2>Metadata properties</h2>
|
||||
{% for metadata in doc.members %}{% if not metadata.internal %}
|
||||
<div class="metadata-member">
|
||||
<a name="{$ metadata.name $}" class="anchor-offset"></a>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{%- endfor %} }}</code-example>
|
||||
|
||||
{% if doc.valueParam.type %}
|
||||
<h2>Input Value</h2>
|
||||
<h2>Input value</h2>
|
||||
{$ params.renderParameters([doc.valueParam], 'pipe-parameters', 'pipe-parameter', true) $}
|
||||
{% endif %}
|
||||
{% if doc.pipeParams.length %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% if doc.security %}
|
||||
<section "security">
|
||||
<h2>Security Risk</h2>
|
||||
<h2>Security risk</h2>
|
||||
{$ doc.security | marked $}
|
||||
</section>
|
||||
{% endif %}
|
|
@ -1,6 +1,6 @@
|
|||
{%- if doc.see.length %}
|
||||
<section class="see-also">
|
||||
<h2>See Also</h2>
|
||||
<h2>See also</h2>
|
||||
<ul>
|
||||
{% for see in doc.see %}
|
||||
<li>{$ see | marked $}</li>{% endfor %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% if doc.usageNotes %}
|
||||
<section class="usage-notes">
|
||||
<h2>Usage Notes</h2>
|
||||
<h2>Usage notes</h2>
|
||||
{$ doc.usageNotes | marked $}
|
||||
</section>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue