From 58a76b4031953355e38cb534ab02c159f7cfb726 Mon Sep 17 00:00:00 2001 From: Błażej Kardyś Date: Thu, 8 Oct 2020 16:35:04 +0200 Subject: Adding properties pages for enum entries --- .../src/main/kotlin/translators/documentables/DefaultPageCreator.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/base') 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 { -- cgit