Skip to content

dokkaJavadoc task reports Could not recognize JavadocContentGroup in SamplesTransformer for samples #3466

@atyrin

Description

@atyrin

In Kotlin/JVM project declare

/**
 * @sample [sample]
 */
class Test {
}

fun sample(){
    val a = 0
}

Run dokkaJavadoc and get:

Could not recognize JavadocContentGroup(dri=[/Test///PointingToDeclaration/], kind=Class, sourceSets=[DisplaySourceSet(sourceSetIDs=CompositeSourceSetID(children=[:module1:dokkaJavadoc/main]), name=jvm, platform=jvm)], children=[TitleNode(title=Test, subtitle=[], version=1.0-SNAPSHOT, parent=, dri=[/Test///PointingToDeclaration/], kind=Class, sourceSets=[DisplaySourceSet(sourceSetIDs=CompositeSourceSetID(children=[:module1:dokkaJavadoc/main]), name=jvm, platform=jvm)])]) ContentNode in SamplesTransformer

Installation

  • Dokka version: 1.9.20

I don't see such error for 1.9.10. The task outputs for 1.9.10/1.9.20 are equivalent.

Metadata

Metadata

Assignees

Labels

bugformat: JavadocAn issue/PR related to Dokka's Javadoc output format or the Javadoc comments in generalregressionAn issue/bug that appeared after recent changes

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions