aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Formats/DacHtmlFormat.kt
diff options
context:
space:
mode:
authorAlex Saveau <asaveau@google.com>2020-07-01 02:06:31 +0000
committerAlex Saveau <asaveau@google.com>2020-07-01 03:02:10 +0000
commitbe1744a7264c9e50fc5a857ce34e6a972ffe12ac (patch)
tree4afbd8643924b906beb5493a6f3703ca1314be44 /core/src/main/kotlin/Formats/DacHtmlFormat.kt
parent92fcde47f4eaf8e9dfe26104ade0d9aeebe4461a (diff)
downloaddokka-be1744a7264c9e50fc5a857ce34e6a972ffe12ac.tar.gz
Add Interfaces section to Dokka as Kotlin docs
Bug: 149372553 Change-Id: I5f20a2de2b57db0b36e5fb678aa37cd38f0e54f5
Diffstat (limited to 'core/src/main/kotlin/Formats/DacHtmlFormat.kt')
-rw-r--r--core/src/main/kotlin/Formats/DacHtmlFormat.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Formats/DacHtmlFormat.kt b/core/src/main/kotlin/Formats/DacHtmlFormat.kt
index 7038a7fbe..d997f1ca2 100644
--- a/core/src/main/kotlin/Formats/DacHtmlFormat.kt
+++ b/core/src/main/kotlin/Formats/DacHtmlFormat.kt
@@ -514,6 +514,7 @@ class DevsiteLayoutHtmlFormatOutputBuilder(
bodyContent = {
h1 { +page.node.name }
nodeContent(page.node)
+ summaryNodeGroup(page.interfaces.sortedBy { it.nameWithOuterClass().toLowerCase() }, "Interfaces", headerAsRow = false) { classLikeRow(it) }
summaryNodeGroup(page.classes.sortedBy { it.nameWithOuterClass().toLowerCase() }, "Classes", headerAsRow = false) { classLikeRow(it) }
summaryNodeGroup(page.exceptions.sortedBy { it.nameWithOuterClass().toLowerCase() }, "Exceptions", headerAsRow = false) { classLikeRow(it) }
summaryNodeGroup(page.typeAliases.sortedBy { it.nameWithOuterClass().toLowerCase() }, "Type-aliases", headerAsRow = false) { classLikeRow(it) }