is there a good example out there of a multi-module project using dokka that publishes to github pages? I must confess I've been frustrated today trying to figure out how to do this and surprised that all the dokka examples seem to only write docs to their ephemeral build directories
I'm using https://github.com/ajoberstar/gradle-git-publish to copy the documentation from build/ to another dedicated repository, but I think you can target an orphan branch if you prefer to keep your documentation on the same repo. (I can't share private repositories but the setup is simple enough.)
z
Zac Sweers
06/27/2023, 5:37 PM
Got it figured out finally but it wasn't super clear that I needed to run a separate multiModule task from the root project for it to work. Up and running now 👍