diff options
author | Igor Yakovlev <igor.yakovlev@jetbrains.com> | 2023-01-25 19:03:21 +0100 |
---|---|---|
committer | igoriakovlev <54274820+igoriakovlev@users.noreply.github.com> | 2023-01-26 15:03:04 +0100 |
commit | 7a680acb011e38c66e2039cd5d831a49b16546ad (patch) | |
tree | 1e6c410868c474b58eeb996a67ef3f0a9fbbc237 /core | |
parent | adfeed1b35b94ced80aba4e13dc926b2c389efb1 (diff) | |
download | dokka-7a680acb011e38c66e2039cd5d831a49b16546ad.tar.gz dokka-7a680acb011e38c66e2039cd5d831a49b16546ad.tar.bz2 dokka-7a680acb011e38c66e2039cd5d831a49b16546ad.zip |
Support kotlin wasm target
Diffstat (limited to 'core')
-rw-r--r-- | core/api/core.api | 1 | ||||
-rw-r--r-- | core/src/main/kotlin/configuration.kt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/core/api/core.api b/core/api/core.api index c85a3347..a6f6fd4a 100644 --- a/core/api/core.api +++ b/core/api/core.api @@ -387,6 +387,7 @@ public final class org/jetbrains/dokka/Platform : java/lang/Enum { public static final field js Lorg/jetbrains/dokka/Platform; public static final field jvm Lorg/jetbrains/dokka/Platform; public static final field native Lorg/jetbrains/dokka/Platform; + public static final field wasm Lorg/jetbrains/dokka/Platform; public final fun getKey ()Ljava/lang/String; public static fun valueOf (Ljava/lang/String;)Lorg/jetbrains/dokka/Platform; public static fun values ()[Lorg/jetbrains/dokka/Platform; 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 |