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
This commit is contained in:
Pete Bacon Darwin 2021-01-12 21:08:37 +00:00 committed by atscott
parent 7a7dc89332
commit 59bcd45930
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% for descendant in descendants %}
<li>
<code>{$ descendant.name $}</code>
{$ renderDescendantList(descendant.descendants | filterByPropertyValue('docType', docTypeMatcher), docType, recursed, docTypeMatcher) $}
{$ renderDescendantList(descendant.descendants | filterByPropertyValue('docType', docTypeMatcher) | filterByPropertyValue('privateExport', undefined), docType, recursed, docTypeMatcher) $}
</li>
{% endfor %}
</ul>