From 1183e09a7123c8f9665248235c5e33ba28e92780 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 9 Jun 2020 09:50:20 +0200 Subject: Hides internal annotations from rendering #947 --- plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/signatures') diff --git a/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt b/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt index 872dd4db..a551efdc 100644 --- a/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt +++ b/plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt @@ -42,7 +42,7 @@ interface JvmSignatureUtils { else -> null }?.let { it.entries.forEach { - it.value.filter { it !in ignored }.takeIf { it.isNotEmpty() }?.let { annotations -> + it.value.filter { it !in ignored && it.mustBeDocumented }.takeIf { it.isNotEmpty() }?.let { annotations -> group(sourceSets = setOf(it.key), styles = styles, kind = ContentKind.Annotations) { annotations.forEach { operation(it) -- cgit