Hi is there a way to load the child projects' cust...
# dokka
j
Hi is there a way to load the child projects' custom assets to the root in dokka multi module? Seems like when there's a multi module configuration applied, the assets from the child projects defined with
dokka(projects.x.y.z)
is not loaded along with it.
I have similar structure that is defined here
with convention plugin
o
Yeah, assets paths should be provided both in sub-modules and in the root(aggregate) module configuration It's a known issue: https://github.com/Kotlin/dokka/issues/2419 Do you have some child-project specific assets? So far, the easiest way will be to have single
assets
directory somewhere in the root and then in convention plugin provide paths to it in both child and aggregate projects
j
Got it - yes, there's child project specific assets (images) which is loaded on markdown files which is included by child via
dokkaPublications.html.includes.from(file)
.
So far, the easiest way will be to have single
assets
directory somewhere in the root and then in convention plugin provide paths to it in both child and aggregate projects
Makes sense. I'll probably build a symbolic link from root or iterate through the images from root proj until the issue is resolved in later version. Thanks for the help 🙏