Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6f9d07d

Browse files
Narretzpetebacondarwin
authored andcommitted
chore(docsApp): don't display module components if none exist
Some modules (ngMessageFormat, ngParseExt) don't have their own api surface because they integrate with core services ($interpolate and $parse respectively). Closes #14770
1 parent 5201b81 commit 6f9d07d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/config/templates/api/module.template.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ <h2 id="known-issues">Known Issues</h2>
6969
{% endif %}
7070

7171

72+
{% if doc.componentGroups.length %}
7273
<div class="component-breakdown">
7374
<h2>Module Components</h2>
7475
{% for componentGroup in doc.componentGroups %}
@@ -89,6 +90,7 @@ <h3 class="component-heading" id="{$ componentGroup.groupType | dashCase $}">{$
8990
</div>
9091
{% endfor %}
9192
</div>
93+
{% endif %}
9294

9395
{% if doc.usage %}
9496
<h2>Usage</h2>

0 commit comments

Comments
 (0)