CLOVIS
05/03/2025, 5:39 PMorg.jetbrains.dokka.gradle.formats.DokkaHtmlPlugin
, there is a check but no configuration at all. The Javadoc plugin doesn't aggregate modules, and the other formats haven't been migrated to the Gradle plugin?kevin.cianfarini
05/05/2025, 6:03 PM[versions]
cardiologist = "0.3.1"
[libraries]
cardiologist = { module = "io.github.kevincianfarini.cardiologist:cardiologist", version.ref = "cardiologist" }
I want to parameterize the version number 0.3.1
so that I can inject it from my gradle.properties
file. Is that possible?Tomas Kormanak
05/13/2025, 11:30 AM* What went wrong:
Execution failed for task ':app:dokkaGeneratePublicationHtml'.
> A failure occurred while executing org.jetbrains.dokka.gradle.workers.DokkaGeneratorWorker
> 'void com.fasterxml.jackson.databind.type.TypeFactory.<init>(com.fasterxml.jackson.databind.util.LRUMap)'
I tried this workaround to force dokka to use older Jackson, but it seems it does not work.
https://github.com/Kotlin/dokka/issues/3472#issuecomment-2244628081
Any idea how to solve it?Junbin Park
05/16/2025, 3:57 AMdokka(projects.x.y.z)
is not loaded along with it.Sebastien Leclerc Lavallee
05/20/2025, 10:20 PMbuild.gradle.kts
:
subprojects {
apply("com.dokka...")
afterEvaluate {
dokka {
dokkaPublications.html {
moduleName.set("SOME - " + project.name)
includes.from(project.layout.projectDirectory.file("CHANGELOG.md"))
}
}
}
}
The file is at the correct location for each subproject, but I don't see my changelog file when I execute
./gradlew dokkaGenerate
Is there anything missing ?
Is that something that's possible?
Thanks! 🙂Sebastien Leclerc Lavallee
05/20/2025, 10:40 PMinternal
in each of my modules since it's not visible for anyone using the library?
Thanks again!Steven Zeck
05/28/2025, 3:45 AMplugins {
id("org.jetbrains.dokka")
}
dokka {
dokkaSourceSets.configureEach {
reportUndocumented = false
skipEmptyPackages = false
skipDeprecated = true
}
dokkaPublications.html {
outputDirectory.set(layout.buildDirectory.dir("docs"))
}
}
dependencies {
dokka(project(":project1"))
dokka(project(":project2"))
}
And in each modules build.gradle.kts
plugins {
id("dokka-convention")
}
Steven Zeck
05/31/2025, 2:23 AM# Package
or # Module
?Edoardo Luppi
06/05/2025, 4:28 PMdokkaHtmlPartial {
dependsOn(generateKotlinGrammarSource) // ANTLR task
}
in my sub-module build script.
What's the correct task to use in place of dokkaHtmlPartial
for this specific case?Edoardo Luppi
06/05/2025, 5:16 PM> Task :module-name:logLinkDokkaGeneratePublicationHtml
Generated Dokka HTML publication: localhost URL
for every sub-module, even when I'm running dokkaGenerate
at the top level with aggregation?Edoardo Luppi
06/05/2025, 5:29 PM.library-name--link::before {
background-size: var(--dokka-logo-height) var(--dokka-logo-width);
max-height: unset;
max-width: unset;
}
2. The sidebar paddings are bit too much imo.
3. The hover highlight appears only on the package name or the toggle arrow, but not on both at the same time (is it intended?)Nathan Fallet
06/07/2025, 1:28 PMSkolson5903
06/14/2025, 1:46 AMdokkaPublications.html {
outputDirectory.set(rootDir.resolve("docs/api/0.x"))
includes.from(project.layout.projectDirectory.file("README.md"))
}
but when I try this the html clause is an unresolved reference (using Idea 2025.2 EAP). And using the snippet below the builds/dokka folder has only an empty javadoc subfolder, so nothing is being generated. Since this is KMP I know V 2.0.0 doesn't support the javadoc option. What do I need to add to get the HTML to generate? Here's my beginning dokka snippet:
dokka {
moduleName.set("Kotlin Multiplatform Common IO Library")
dokkaSourceSets.commonMain {
includes.from("$appleFrameworkName.md")
}
}
Also, as a followup, I've struggled to find an example of how to tell maven publish to publish the HTML once generated. I'd also appreciate any info on that.
Thanks in advance for any help...Nathan Fallet
06/15/2025, 11:47 AMSkolson5903
06/23/2025, 9:59 PMapplyDefaultHierarchyTemplate()
so all the sourceSet names fit that template. Dokka produced a number of messages that surprised me, as if it doesn't understand the default hierarchy template. I posted the messages as a reply in this thread. Basically all the source sets that aren't leaf nodes in the default template are getting labeled as common. That seems to lead to it generating doc from appleMain into all the platforms, not just the Apple ones, etc. Is this expected behavior?MiguelDecimal128
07/08/2025, 2:42 PMKenna Zimmerman
07/25/2025, 3:53 PM/**
* This is a new interface for testing dokka.
*
* This should be a new line
*
* And [this](<https://www.google.com/>) should be a hyperlink.
*/
@Keep
public abstract class NewInterface {
/** [This](<https://www.google.com/>) should also be a hyperlink. */
public abstract void foo();
And attached is the generated HTML. Neither the new lines or hyperlinks are being recognized. Am I using the right syntax? Any ideas for solutions (or workarounds)? I’m using dokka version 2.0.0Abe Sol
07/26/2025, 7:24 AMindex.html
leaves the side bar empty. Something that would have saved me some frustration is including a <!-- please load via a web server -->
HTML comment where the list should show up.oshai
08/01/2025, 8:02 PMrnett
08/09/2025, 11:47 PM[my-module]
), relative links to the directory ([my-module](./my-module)
), and relative HTML links ([my-module](../my-module/index.html)
), none of which work. The second two are rendered as the link address rather than being links.pardom
08/11/2025, 6:18 PMVojtech Hrdina
08/19/2025, 1:22 PMOleg Yukhnevich
08/27/2025, 4:27 PMoutadoc
09/03/2025, 5:10 PMDokkaTask
, and suppress the source sets I'm not interested in.
How would I achieve this with V2, as registering Dokka tasks now seems to be unsupported?Lukas K-G
09/10/2025, 6:48 AMDefaultSymbolToDocumentableTranslator
as this seems to be the only place that still has access to this kind of information but it does not seem to be extendible by plugins without having to copy/rewrite the whole thing.
Would someone have any suggestions as to how this could be achieved?Guilherme Delgado
09/11/2025, 3:59 PM./gradlew dokkaGenerate
in multi-module project, with:
dependencies {
dokka(project(":module-a"))
dokka(project(":module-b"))
}
Everything is generated as expected. Unfortunately, the root - http://localhost:63342/MyProject/build/dokka/html/index.html - index.html
and navigation.html
only show the first module. If I open the file (not using localhost) I can navigate between modules because the index.html
shows “All modules” but the navigation.html
is not rendered. If I open the navigation.html
file, the links for each module are correct.
Any help?CLOVIS
09/13/2025, 9:55 AMKelvin Chung
09/30/2025, 4:17 AMDokkaExtension
despite applying org.jetbrains.dokka
. Is there something I'm not doing correctly?solonovamax
10/03/2025, 5:10 AMOleg Yukhnevich
10/15/2025, 10:56 AM