aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model
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 /core/src/main/kotlin/model
parent95f0b2abff0b4fac110da4129dcc8a8ae51e0d32 (diff)
downloaddokka-1183e09a7123c8f9665248235c5e33ba28e92780.tar.gz
dokka-1183e09a7123c8f9665248235c5e33ba28e92780.tar.bz2
dokka-1183e09a7123c8f9665248235c5e33ba28e92780.zip
Hides internal annotations from rendering #947
Diffstat (limited to 'core/src/main/kotlin/model')
-rw-r--r--core/src/main/kotlin/model/aditionalExtras.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/model/aditionalExtras.kt b/core/src/main/kotlin/model/aditionalExtras.kt
index b4355d4b..94d0e751 100644
--- a/core/src/main/kotlin/model/aditionalExtras.kt
+++ b/core/src/main/kotlin/model/aditionalExtras.kt
@@ -29,7 +29,7 @@ class Annotations(val content: SourceSetDependent<List<Annotation>>) : ExtraProp
override val key: ExtraProperty.Key<Documentable, *> = Annotations
- data class Annotation(val dri: DRI, val params: Map<String, AnnotationParameterValue>) {
+ data class Annotation(val dri: DRI, val params: Map<String, AnnotationParameterValue>, val mustBeDocumented: Boolean = false) {
override fun equals(other: Any?): Boolean = when (other) {
is Annotation -> dri == other.dri
else -> false