Generating documentation (e.g. JsDoc comments) in JS from KDoc


#1

I’m trying to build a JavaScript library (jscommon) with Kotlin. The resulting library has no documentation (such as JSDOC) which means the users of the library will get no information or auto-complete from their IDE, not even which type of arguments they should pass to the functions. This will make the library very difficult to use.
Is there a way to make the compiler generate such documentation?

Thank you!