aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-10-08 16:35:04 +0200
committerKamil Doległo <9080183+kamildoleglo@users.noreply.github.com>2020-10-08 19:06:14 +0200
commit58a76b4031953355e38cb534ab02c159f7cfb726 (patch)
tree119e02b6e3e24f9c5e858d9d1fc2ed458d8bb3a9 /plugins/base
parent0d2ee179b6563020874db9f60906fb16b6ae1556 (diff)
downloaddokka-58a76b4031953355e38cb534ab02c159f7cfb726.tar.gz
dokka-58a76b4031953355e38cb534ab02c159f7cfb726.tar.bz2
dokka-58a76b4031953355e38cb534ab02c159f7cfb726.zip
Adding properties pages for enum entries
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 6c1b5ea4..5cd8b0ff 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -45,7 +45,8 @@ open class DefaultPageCreator(
ClasslikePageNode(
e.name, contentForEnumEntry(e), setOf(e.dri), e,
e.classlikes.renameClashingDocumentable().map(::pageForClasslike) +
- e.filteredFunctions.renameClashingDocumentable().map(::pageForFunction)
+ e.filteredFunctions.renameClashingDocumentable().map(::pageForFunction) +
+ e.properties.renameClashingDocumentable().mapNotNull(::pageForProperty)
)
open fun pageForClasslike(c: DClasslike): ClasslikePageNode {