Skip to content

Move text under @depracation tag to Deprecation block in Java sources #2668

@atyrin

Description

@atyrin

For the Java code like:

public class DeprecatedJClass {
    /**
     * Don't do anything
     * @deprecated
     * This method is no longer acceptable to compute time between versions.
     * <p> Use {@link DeprecatedJClass#getStringMethodNew()} instead.
     */
    @Deprecated(since = "18.0.2", forRemoval = true)
    public void getStringMethod(){}
    public void getStringMethodNew(){}
}

The HTML output look like:
image

It seems like it would be nice to move the text from the Depreciation paragraph to the Deracation table to have everything in one place.

Metadata

Metadata

Assignees

Labels

enhancementAn issue for a feature or an overall improvementformat: htmlAn issue/PR related to Dokka's default HTML output formathtml: backendAn issue/PR that affects the HTML format, but requires changes in common (content) Kotlin codelanguage: JavaIssue/PR related to the Java language feature/analysis/docstopic: frontend onboardingAn issue that could be used to onboard team members specializing in frontend development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions