From 59bcd45930ee092d90fd40d4779405d4635abf8f Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Tue, 12 Jan 2021 21:08:37 +0000 Subject: [PATCH] build(docs-infra): ensure private exported subclasses are not rendered (#40404) Previously, only the first layer of sub-classes were filtered to remove private exports. But on recursing down further levels these were not filtered out. PR Close #40404 --- aio/tools/transforms/templates/api/lib/descendants.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/tools/transforms/templates/api/lib/descendants.html b/aio/tools/transforms/templates/api/lib/descendants.html index 3bfd3c95bb..2ce10441c9 100644 --- a/aio/tools/transforms/templates/api/lib/descendants.html +++ b/aio/tools/transforms/templates/api/lib/descendants.html @@ -4,7 +4,7 @@ {% for descendant in descendants %}
  • {$ descendant.name $} - {$ renderDescendantList(descendant.descendants | filterByPropertyValue('docType', docTypeMatcher), docType, recursed, docTypeMatcher) $} + {$ renderDescendantList(descendant.descendants | filterByPropertyValue('docType', docTypeMatcher) | filterByPropertyValue('privateExport', undefined), docType, recursed, docTypeMatcher) $}
  • {% endfor %}