is there a complete example anywhere of writing a custom plugin? e.g. let's say I want to filter out API's and types that have a particular annotation on them, what's the easiest entry point to do this? What about customizing the HTML output? thanks!
Aaron Todd
04/29/2021, 7:05 PM
I've got a skeleton created but can't seem to get it to apply to
dokkaHtmlPartial
tasks...
Aaron Todd
04/29/2021, 8:04 PM
seems like using
dokkaPlugin(project(":custom-dokka-plugin"))
works but using either
dokkaHtmlPlugin
or
dokkaHtmlMultimodulePlugin
configurations does not. Has to be applied to all subprojects
Aaron Todd
04/29/2021, 8:06 PM
for anyone else, I followed the example from DeprecatedDocumentableFilterTransformer (which uses the following for grabbing the annotation)
Rather than implement all of that logic I inherited from