Describe the bug
When generating Markdown documentation for Java/Kotlin sources containing annotations @nonnull, Dokka renders them without a space before the annotated symbol.
Expected behaviour
A space should appear between annotation and parameter name, consistent with source formatting and readability.
To Reproduce
- Create a java or Kotlin file with a method using @nonnull annotations on parameters.
- Run Dokka to generate Markdown (GFM) output.
- Observe that the annotation and parameter name are concatenated without space.
public final void setLocation(
@NonNull Double longitude,
@NonNull Double latitude,) {.....}
Generated Markdown output:
@NonNulllongitude: Double, @NonNulllatitude: Double
Expected output:
@nonnull longitude: Double, @nonnull latitude: Double
Installation
- Dokka 2.1.0(also reproducible in 1.9.10)
- Output format: GFM/Markdown
- OS: Linux