Attaching kdoc to library

Is it possible to attach documentation to a Kotlin/Native library (klib)?
I’ve made a simple native library alongside with some kdoc by creating a Kotlin/Native project in IntelliJ, then adding the maven-publish plugin like in the tutorial. In my .m2/repository/ folder I can find my klib, however, neither adding it manually with implementation(files("library.klib")) nor with mavenLocal() makes it come with the original kdoc. Is there any way to include it in the klib? Or, at least include it on the side somehow? Also, I’ve seen that inside the local maven repo, the source code is along with the klib as a jar, however IntelliJ does not recognize it (it tries to decompile the library when I attempt to see the code when using the library in another project).