Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dokkaJavadoc does not recognize @return @since @author #1770

Closed
tnfk06 opened this issue Mar 10, 2021 · 7 comments · Fixed by #2967
Closed

dokkaJavadoc does not recognize @return @since @author #1770

tnfk06 opened this issue Mar 10, 2021 · 7 comments · Fixed by #2967
Labels
bug format: Javadoc An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general good first issue A beginner-friendly issue for which some assistance is expected
Milestone

Comments

@tnfk06
Copy link

tnfk06 commented Mar 10, 2021

Describe the bug
dokkaJavadoc does not recognize @return, @SInCE, @author

Expected behaviour
return, since , author should be generated to javadoc html file

Screenshots
image

image

To Reproduce
RoomRxJavaKotlin.zip

Dokka configuration
Configuration of dokka used to reproduce the bug

image

Installation

  • Operating system: macOS/Windows/Linux
  • Build tool: Gradle v6.7.1/Maven/Cli/3rd party plugin
  • Dokka version: 1.4.20

Additional context
dokkaHtml works fine

image

@tnfk06 tnfk06 added the bug label Mar 10, 2021
@MarcinAman MarcinAman added this to the Stable milestone Apr 26, 2021
@MarcinAman MarcinAman added the format: Javadoc An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general label Apr 26, 2021
@isaacchiang-kkstream
Copy link

I had the same issue in my android project with AndroidStudio. I'm using 1.6.0 version's Dokka version. Did this issue be fixed? or still working on it?

@danielshiplett
Copy link

Any idea if this is ever going to be fixed?

@IgnatBeresnev
Copy link
Member

IgnatBeresnev commented Dec 13, 2022

Any idea if this is ever going to be fixed?

Hopefully, one day it will, but we don't have the resources to fix it now as there are more pressing issues at hand :(

This shouldn't be awfully difficult to contribute though - a convenient TODO was left in the template, indicating where it needs to be added: https://github.com/Kotlin/dokka/blob/1.7.20/plugins/javadoc/src/main/resources/views/class.korte#L284

How Javadoc plugin and its templating works in beyond me, but implementing return/since/author similar to how parameters property is handled should work, see JavadocContentToTemplateMapTranslator.

For anyone wishing to contribute this fix, Developer Guides can help you get started.

@IgnatBeresnev IgnatBeresnev added the good first issue A beginner-friendly issue for which some assistance is expected label Mar 14, 2023
@irina-turova
Copy link
Contributor

Hello! I'd like to approach the issue. Is it still actual?

@danielshiplett
Copy link

It seems to be. My latest Javadoc build from my Kotlin project is still missing @returns.

@IgnatBeresnev
Copy link
Member

IgnatBeresnev commented Apr 17, 2023

@turovaia I believe it is, yes! If you find yourself stuck or just need pointers, feel free to ask questions here or in the #dokka channel in Kotlin Community Slack

@IgnatBeresnev
Copy link
Member

The fix will be released in 1.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug format: Javadoc An issue/PR related to Dokka's Javadoc output format or the Javadoc comments in general good first issue A beginner-friendly issue for which some assistance is expected
Projects
None yet
7 participants