diff options
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 |