Open DhanshriP opened 2 months ago
It seems this issues is a duplicate of https://github.com/Kotlin/dokka/issues/3488#issuecomment-1928090498
It seems this issues is a duplicate of #3488 (comment)
Yes, We need to apply plugin with dokkaHtmlMultiModule dependency otherwise it will not show versioning drop-down for multi module project.
As I have observed, official dokka documentation is not updated with same information. Here I have created a blog for how to use versioning plugin in dokka for reference purpose:
Describe the bug
When setting up Dokka for an Android project with multiple modules sometimes face an issue. While creating versioning of documentation using dokka,
dokkaPlugin
should be added in build.gradle filedependencies { dokkaPlugin('org.jetbrains.dokka:versioning-plugin:1.9.20') }
and setting up the classpath fordokka-gradle-plugin
on project level build.gradle and applyorg.jetbrains.dokka
plugin.These steps are crucial for Dokka to create accurate and versioned documentation for multi module project.
Expected behaviour As mentioned in example of dokka multi module, If anyone add versioning-plugin in classpath at project level build.gradle and dokkaPlugin dependency in module level build.gradle it should show dokka drop down of versions like shown in below screenshot : Screenshots
To Reproduce Followed steps and took a reference of official dokka repository: https://github.com/Kotlin/dokka/tree/master/examples/gradle/dokka-versioning-multimodule-example
Dokka configuration
Installation