build(docs-infra): ensure all headings are sentence cased (#24527)

PR Close #24527
This commit is contained in:
Pete Bacon Darwin 2018-06-14 23:02:45 +01:00 committed by Miško Hevery
parent f3625e424b
commit 45862d0812
7 changed files with 8 additions and 8 deletions

View File

@ -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 %}

View File

@ -1,6 +1,6 @@
{% if doc.deprecated %}
<section class="deprecated">
<h2>Deprecation Notes</h2>
<h2>Deprecation notes</h2>
{$ doc.deprecated | marked $}
</section>
{% endif %}

View File

@ -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>

View File

@ -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 %}

View File

@ -1,6 +1,6 @@
{% if doc.security %}
<section "security">
<h2>Security Risk</h2>
<h2>Security risk</h2>
{$ doc.security | marked $}
</section>
{% endif %}

View File

@ -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 %}

View File

@ -1,6 +1,6 @@
{% if doc.usageNotes %}
<section class="usage-notes">
<h2>Usage Notes</h2>
<h2>Usage notes</h2>
{$ doc.usageNotes | marked $}
</section>
{% endif %}