From 45862d08128f5dca8df08f536cface8a83da3d57 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Thu, 14 Jun 2018 23:02:45 +0100 Subject: [PATCH] build(docs-infra): ensure all headings are sentence cased (#24527) PR Close #24527 --- aio/tools/transforms/templates/api/class.template.html | 4 ++-- aio/tools/transforms/templates/api/includes/deprecation.html | 2 +- aio/tools/transforms/templates/api/includes/metadata.html | 2 +- .../transforms/templates/api/includes/pipe-overview.html | 2 +- .../transforms/templates/api/includes/security-notes.html | 2 +- aio/tools/transforms/templates/api/includes/see-also.html | 2 +- aio/tools/transforms/templates/api/includes/usageNotes.html | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aio/tools/transforms/templates/api/class.template.html b/aio/tools/transforms/templates/api/class.template.html index d0af53a1a5..45cd8ad08d 100644 --- a/aio/tools/transforms/templates/api/class.template.html +++ b/aio/tools/transforms/templates/api/class.template.html @@ -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 %}

Constructor

{$ memberHelpers.renderMethodDetail(versionInfo, doc.constructorDoc, 'constructor') $}{% endif %} diff --git a/aio/tools/transforms/templates/api/includes/deprecation.html b/aio/tools/transforms/templates/api/includes/deprecation.html index 7aa4f0db54..8286ab4148 100644 --- a/aio/tools/transforms/templates/api/includes/deprecation.html +++ b/aio/tools/transforms/templates/api/includes/deprecation.html @@ -1,6 +1,6 @@ {% if doc.deprecated %}
-

Deprecation Notes

+

Deprecation notes

{$ doc.deprecated | marked $}
{% endif %} \ No newline at end of file diff --git a/aio/tools/transforms/templates/api/includes/metadata.html b/aio/tools/transforms/templates/api/includes/metadata.html index 8e1a0f953a..9aa301e44d 100644 --- a/aio/tools/transforms/templates/api/includes/metadata.html +++ b/aio/tools/transforms/templates/api/includes/metadata.html @@ -1,6 +1,6 @@ {% if doc.members.length %}
-

Metadata Properties

+

Metadata properties

{% for metadata in doc.members %}{% if not metadata.internal %}