Is there a way to specify an XML file in block comments in Kotlin class?

272 Views Asked by At

I can't figure out a way to mention an XML file inside block comments in a Kotlin class. I know it is possible to tag a class or function but what about an XML file in an Android project.

Something like this where nav_graph.xml is the file to be tagged:


/**
 * For details check [nav_graph]
 */

1

There are 1 best solutions below

2
On

It doesn't appear on their official documentation that you can actually link XML/Resources. Just classes, functions, and variables. KDocs is a simpler in features compared to javadocs.