Are the current API doc generated via Gradle, or via the Dokka fat jar?
I am seeing a lot of
ERROR CLASS
items in unexpected places.
Primary examples is under the JS
KVRemoteAgent
class parameters
For
KVServiceMgr<T>
parameter, and for
RequestInit
under the
(RequestInit.() -> Unit)?
parameter
Both area pretty unexpected, given one comes from the common source of the same module, then the other from stdlib
I initially suspected https://github.com/Kotlin/dokka/issues/503
But I am not entirely sure it fits
r
Robert Jaros
03/09/2022, 12:19 PM
API docs are generated via Gradle, but I'm using custom dokka configuration.
Robert Jaros
03/09/2022, 12:22 PM
Generating readable documentation is still very problematic because the project structure is very complicated. Root kotlin/js project with multiple submodules, both kotlin/js and kotlin/multiplatform. Also many submodules implement the same classes differently.
Robert Jaros
03/09/2022, 12:24 PM
The current version is the best I could get for now. I'm playing a bit with every dokka release, trying to get better results.
p
Phil Richardson
03/09/2022, 2:30 PM
Nice
Yeah, I have had issues with gradle project with mixed module types.
It is only as multiplatform has progressed that I have been able to solve some of the simpler use cases, but not all of them
My gradle foo is weak though