aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/signatures
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-06-09 09:50:20 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-06-25 14:56:46 +0200
commit1183e09a7123c8f9665248235c5e33ba28e92780 (patch)
treebd40553578862689ea38ef739c16b5d2ab92cc64 /plugins/base/src/main/kotlin/signatures
parent95f0b2abff0b4fac110da4129dcc8a8ae51e0d32 (diff)
downloaddokka-1183e09a7123c8f9665248235c5e33ba28e92780.tar.gz
dokka-1183e09a7123c8f9665248235c5e33ba28e92780.tar.bz2
dokka-1183e09a7123c8f9665248235c5e33ba28e92780.zip
Hides internal annotations from rendering #947
Diffstat (limited to 'plugins/base/src/main/kotlin/signatures')
-rw-r--r--plugins/base/src/main/kotlin/signatures/JvmSignatureUtils.kt2
1 files changed, 1 insertions, 1 deletions
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)