Hi, does Dokka v2 support documenting the root mod...
# dokka
w
Hi, does Dokka v2 support documenting the root module in a multi-module project, so the module overview page can be made more useful?
w
I’ll have to check what I missed during my tests…
Thank you for the example code
Alright, the difference is that I used
dokkaSourceSets
which works for individual modules, but the root module needs
dokkaPublications
. The migration guide actually mentions it, but why is there such an inconsistency at all?
o
but why is there such an inconsistency at all?
historical reasons on how Dokka configuration evolved: 1. from jvm-only - where there was single sourceset and so single
includes
2. to multiplatform - with multiple sourcesets each having
includes
3. to multi-module - where additional
includes
in root configuration, for multi-module case was introduced, as there is no sourcesets in aggregate module
👍 1