I found myself re-writing a lot of the jetbrains KMP templates so I wrote a KMP template that includes Dokka, Detekt, MkDocs, GH Actions pipelines, and other niceties. Feel free to use the template in. your next project.
https://github.com/goatbytes/kmmify