Skip to content

Dokka javadoc generates empty summary sections #4002

@TomerAberbach

Description

@TomerAberbach

Describe the bug
Dokka javadoc generates empty summary sections for classes.

Expected behaviour
The sections should be omitted entirely.

Screenshots
See here for example: https://javadoc.io/doc/com.openai/openai-java-core/latest/com/openai/services/async/beta/AssistantServiceAsync.html

There are empty "Nested Class Summary", "Field Summary", etc. sections.

To Reproduce
Clone https://github.com/openai/openai-java and run ./gradlew openai-java-core:dokkaJavadoc

Dokka configuration
The project mentioned above simply has:

plugins {
    id("org.jetbrains.dokka") version "2.0.0"
}

subprojects {
    apply(plugin = "org.jetbrains.dokka")
}

Installation

  • Operating system: macOS
  • Build tool: Gradle v8.12
  • Dokka version: 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugformat: JavadocAn issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions