Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.42k stars 405 forks source link

Include HTML assets in multi-module project? #2671

Closed fwendland closed 2 years ago

fwendland commented 2 years ago

Question Is it possible to include custom HTML assets in a multi-module project?

Installation

Additional context I want to replace HTML assets in my multi-module project. I've followed the documentation [1, 2] and configured each module to use my custom assets. This works great. However, I don't seem to be able to configure the dokkaHtmlMultiModule task to also use my custom assets.

So far I've tried to add the pluginConfiguration to each DokkaTask and to each DokkaTaskPartial, which didn't work.

Do you have any suggestion? Is it at all possible to add custom assets to the dokkaHtmlMultiModule task?

hfhbd commented 2 years ago

I did use this workaround in the past, but I don't know, if it still works: https://github.com/Kotlin/dokka/issues/2244#issuecomment-981107265

fwendland commented 2 years ago

Hi @hfhbd,

Thank you. I must have missed this one in my search :flushed: I have a look and let you know.

fwendland commented 2 years ago

Thanks @hfhbd, you're workaround from #2244 still works :)