aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt2
-rw-r--r--plugins/base/src/main/kotlin/signatures/KotlinSignatureProvider.kt2
2 files changed, 3 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) {