-
Notifications
You must be signed in to change notification settings - Fork 415
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
HTML hyperlink inside @see in Javadoc in Java files fails to render properly #3703
Comments
The kdoc spec for see tags https://kotlinlang.org/docs/kotlin-doc.html#see-identifier says that it only supports links to classes and methods, not URL literals. |
Hey, thanks for reporting this! During the investigation if it's possible to somehow easy fix it I found several inconsistencies in behaviour of Dokka with KDoc and JavaDoc
JavaDoc:
Dokka implementation details:
Possible solutions:
Keeping in mind all this, we don't really want to introduce any more fragile ad-hoc solutions with no clear specification of how it should work having in mind that we have other more important issues to resolve even with Kotlin-only sources with bigger impact. |
Describe the bug
Following line is not interpreted correctly when in Javadoc in a Java file. Works however properly in Javadoc in Kotlin files:
See example here (at the end of the class documentation, after the "See also: Provider Factory" part), generated from these sources.
Screenshots
Dokka configuration
Generation done via the Dokkatoo plugin
2.3.1
, based on Dokka1.9.20
.The text was updated successfully, but these errors were encountered: