So, in javaDoc, we have something like below:
@see <a href="https://www.journaldev.com/1663/java-generics-example-method-class-interface">Generics</a>
What will be the similar KDoc?
So, in javaDoc, we have something like below:
@see <a href="https://www.journaldev.com/1663/java-generics-example-method-class-interface">Generics</a>
What will be the similar KDoc?
“See also” is currently not supported in Dokka, please follow Allowing external links in @see · Issue #518 · Kotlin/dokka · GitHub for updates.
So, is there a way to include hyperlink in KDoc?
judging by the absence of movement on the github issue, it seems there is no yet a way to add links, try to up the issue, maybe it will get picked up
You can use normal markdown to create links
/**
* [some link](https://google.com)
* [java list](java.util.List)
**/
That does not work for me when generating HTML. I have also tried embedded HTML which does not work either.