dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Please don't use uppercase transformation for wasm targets

Open bashor opened this issue 2 years ago • 1 comments

https://webassembly.github.io/spec/core/intro/introduction.html#id1

Wasm is a contraction of “WebAssembly”, not an acronym, hence not using all-caps.

Specifically, remove .platform-tag.wasm-like from this rule: https://github.com/Kotlin/dokka/blob/c63ea36637ce956029fb15b1482c0683ecb8a587/plugins/base/src/main/resources/dokka/styles/style.css#L1065

bashor avatar Aug 30 '23 15:08 bashor

Still present, and it does look strange:

Image

Also, in the API docs for kotlin-stdlib there is a hyphen between Wasm and JS/WASI:

Image

It's useful to show breaks in multi-word names, although I'd prefer a slash even more: Wasm/JS and Wasm/WASI would look right to me.

OliverO2 avatar Oct 26 '25 20:10 OliverO2