aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/configuration.kt
diff options
context:
space:
mode:
authorIgor Yakovlev <igor.yakovlev@jetbrains.com>2023-01-25 19:03:21 +0100
committerigoriakovlev <54274820+igoriakovlev@users.noreply.github.com>2023-01-26 15:03:04 +0100
commit7a680acb011e38c66e2039cd5d831a49b16546ad (patch)
tree1e6c410868c474b58eeb996a67ef3f0a9fbbc237 /core/src/main/kotlin/configuration.kt
parentadfeed1b35b94ced80aba4e13dc926b2c389efb1 (diff)
downloaddokka-7a680acb011e38c66e2039cd5d831a49b16546ad.tar.gz
dokka-7a680acb011e38c66e2039cd5d831a49b16546ad.tar.bz2
dokka-7a680acb011e38c66e2039cd5d831a49b16546ad.zip
Support kotlin wasm target
Diffstat (limited to 'core/src/main/kotlin/configuration.kt')
-rw-r--r--core/src/main/kotlin/configuration.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt
index 77384ace..71356e67 100644
--- a/core/src/main/kotlin/configuration.kt
+++ b/core/src/main/kotlin/configuration.kt
@@ -49,6 +49,7 @@ object DokkaDefaults {
enum class Platform(val key: String) {
jvm("jvm"),
js("js"),
+ wasm("wasm"),
native("native"),
common("common");
@@ -59,6 +60,7 @@ enum class Platform(val key: String) {
return when (key.toLowerCase()) {
jvm.key -> jvm
js.key -> js
+ wasm.key -> wasm
native.key -> native
common.key -> common
"androidjvm", "android" -> jvm