From 38fef1588dcd39e287fa8143b3ce888fbd544ef4 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 9 Mar 2018 13:37:28 +0000 Subject: [PATCH] build(aio): move "see also" block to export-base template (#22681) This makes it easier for all the API docs to display "see also" links in a consitent manner. PR Close #22681 --- aio/tools/transforms/templates/api/export-base.template.html | 1 + aio/tools/transforms/templates/api/includes/class-overview.html | 1 - .../transforms/templates/api/includes/interface-overview.html | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/aio/tools/transforms/templates/api/export-base.template.html b/aio/tools/transforms/templates/api/export-base.template.html index df5e0293fa..2d42946f44 100644 --- a/aio/tools/transforms/templates/api/export-base.template.html +++ b/aio/tools/transforms/templates/api/export-base.template.html @@ -5,6 +5,7 @@ {% include "includes/security-notes.html" %} {% include "includes/deprecation.html" %} {% block overview %}{% endblock %} + {% include "includes/see-also.html" %} {% block details %}{% endblock %} {% include "includes/usageNotes.html" %} {% endblock %} diff --git a/aio/tools/transforms/templates/api/includes/class-overview.html b/aio/tools/transforms/templates/api/includes/class-overview.html index 3d681c90a8..906f51e0a5 100644 --- a/aio/tools/transforms/templates/api/includes/class-overview.html +++ b/aio/tools/transforms/templates/api/includes/class-overview.html @@ -6,5 +6,4 @@ } {$ descendants.renderDescendants(doc, 'class', 'Subclasses') $} -{% include "includes/see-also.html" %} diff --git a/aio/tools/transforms/templates/api/includes/interface-overview.html b/aio/tools/transforms/templates/api/includes/interface-overview.html index 1ab8f19497..841a6f6e4b 100644 --- a/aio/tools/transforms/templates/api/includes/interface-overview.html +++ b/aio/tools/transforms/templates/api/includes/interface-overview.html @@ -8,5 +8,4 @@ interface {$ doc.name $}{$ doc.typeParams | escape $}{$ memberHelper.renderHerit {$ descendants.renderDescendants(doc, 'interface', 'Child Interfaces') $} {$ descendants.renderDescendants(doc, 'class', 'Class Implementations') $} -{% include "includes/see-also.html" %} \ No newline at end of file