From 2cd95b0828518dde751d039f4456dcf93e04dfc1 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Wed, 28 Jul 2021 09:14:38 +0200 Subject: Missing receiver docs (#2026) --- .../kotlin/translators/documentables/DefaultPageCreator.kt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'plugins/base/src/main') diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index 61fbd7d2..eaa4b6cd 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -23,7 +23,7 @@ import org.jetbrains.dokka.base.transformers.documentables.ClashingDriIdentifier private typealias GroupedTags = Map, List>> private val specialTags: Set> = - setOf(Property::class, Description::class, Constructor::class, Receiver::class, Param::class, See::class) + setOf(Property::class, Description::class, Constructor::class, Param::class, See::class) open class DefaultPageCreator( configuration: DokkaBaseConfiguration?, @@ -382,18 +382,10 @@ open class DefaultPageCreator( styles = setOf(ContentStyle.WithExtraAttributes) ) { sourceSetDependentHint(sourceSets = platforms.toSet(), kind = ContentKind.SourceSetDependentHint) { - val receiver = tags.withTypeUnnamed() val params = tags.withTypeNamed() table(kind = ContentKind.Parameters) { platforms.forEach { platform -> val possibleFallbacks = d.getPossibleFallbackSourcesets(platform) - (receiver[platform] ?: receiver.fallback(possibleFallbacks))?.let { - row(sourceSets = setOf(platform), kind = ContentKind.Parameters) { - text("", styles = mainStyles + ContentStyle.RowTitle) - comment(it.root) - } - } - params.mapNotNull { (_, param) -> (param[platform] ?: param.fallback(possibleFallbacks))?.let { row(sourceSets = setOf(platform), kind = ContentKind.Parameters) { -- cgit