An alternative you might consider is using my other project, Orchid, to generate a full website, rather than just a wiki. It supports deploying to GitLab Pages, and renders nicer-looking Kotlin docs alongside your wiki docs.
strikt.io is a good example of a project site documented with Orchid, and you can follow this tutorial to get started
https://orchid.run/wiki/learn/tutorials/how-to-document-kotlin