diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-09-27 18:24:00 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-09-27 18:24:00 +0300 |
commit | 51cb9c12e4db76a552ada7445b346fe1ac3e68ef (patch) | |
tree | 30eb621404cd9641cb177bedd74dd5d70dffcfd4 | |
parent | 8422874793845c1bb5234b91f858d74e80c956f7 (diff) | |
download | dokka-51cb9c12e4db76a552ada7445b346fe1ac3e68ef.tar.gz dokka-51cb9c12e4db76a552ada7445b346fe1ac3e68ef.tar.bz2 dokka-51cb9c12e4db76a552ada7445b346fe1ac3e68ef.zip |
Remove implied platforms
-rw-r--r-- | core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt index d2321ad9..1a674626 100644 --- a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt +++ b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt @@ -129,10 +129,7 @@ open class KotlinWebsiteHtmlOutputBuilder( val kotlinVersion = platforms.singleOrNull(String::isKotlinVersion)?.removePrefix("Kotlin ") val jreVersion = platforms.singleOrNull(String::isJREVersion) - val targetPlatforms = - platforms.filterNot { it.isKotlinVersion() || it.isJREVersion() } - .takeUnless { it.intersect(impliedPlatforms).containsAll(impliedPlatforms) } - .orEmpty() + val targetPlatforms = platforms.filterNot { it.isKotlinVersion() || it.isJREVersion() } return mapOf( "platform" to targetPlatforms, |