I have a project with both JS and WasmJS targets. ...
# dokka
r
I have a project with both JS and WasmJS targets. When building documentation with Dokka 2.0.0 I see prefixes like this
[wasmJs]
and
[js]
on functions and classes defined in both targets. Screenshot in thread.
Zrzut ekranu z 2025-01-22 11-33-35.png
Is this a correct behavior?
o
Yeah, that's correct It happens, when there are 2 source sets which have declaration with the same name If there is an expect/actual - those will be combined on single page Otherwise, those are like 2 separate declarations for different targets
r
Thanks. I think it would look better if it was
[wasmJs] Socket
or even better
Socket [wasmJs]
. But current
[wasmJs]Socket
(without a space) looks a bit harsh to me.
Adding a suffix would probably also be good for sorting the tree in my opinion.
o
Yeah, sounds logical, do you mind creating an issue for this?
r