diff options
Diffstat (limited to 'plugins/base/src/main')
3 files changed, 8 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index d949d432..48ebe93f 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -157,6 +157,7 @@ open class HtmlRenderer( "native" -> classes = classes + "native-like" "jvm" -> classes = classes + "jvm-like" "js" -> classes = classes + "js-like" + "wasm" -> classes = classes + "wasm-like" } text(it.name) } @@ -531,6 +532,7 @@ open class HtmlRenderer( "native" -> classes = classes + "native-like" "jvm" -> classes = classes + "jvm-like" "js" -> classes = classes + "js-like" + "wasm" -> classes = classes + "wasm-like" } text(it.name) } diff --git a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt index 22f67445..45a735c6 100644 --- a/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt +++ b/plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt @@ -37,7 +37,7 @@ class KotlinSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLog ExtraModifiers.KotlinOnlyModifiers.External ) private val platformSpecificModifiers: Map<ExtraModifiers, Set<Platform>> = mapOf( - ExtraModifiers.KotlinOnlyModifiers.External to setOf(Platform.js) + ExtraModifiers.KotlinOnlyModifiers.External to setOf(Platform.js, Platform.wasm) ) override fun signature(documentable: Documentable): List<ContentNode> = when (documentable) { diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index 5242a76d..43c8dde6 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -828,6 +828,11 @@ small { color: white; } +.platform-tag.wasm-like { + background-color: #654FF0; + color: white; +} + .platform-tag.native-like { background-color: #CD74F6; color: white; |