I’d like to somehow divide the docs for entities, ...
# dokka
p
I’d like to somehow divide the docs for entities, think: public and internal API like here. More specifically, see these docs: https://krzema12.github.io/github-workflows-kt/api-docs/ - almost all stuff in package starting with
it.krzeminski.githubactions.actions
should go somewhere else because they contain generated code. Is it possible with Dokka?
v
It is impossible, but you can create a custom plugin. Anyway, I have created an issue for this feature. Currently, I think you can use https://kotlinlang.org/docs/dokka-gradle.html#package-options to suppress
it.krzeminski.githubactions.actions.*
packages for public documentation. So you can run Dokka two times to generate two documentation: public and internal API.
p
Thank you!