Linking to anchors in the same class
Nir Lisker
nlisker at gmail.com
Thu Feb 15 17:22:01 UTC 2024
Hi,
I have a question after reading https://bugs.openjdk.org/browse/JDK-8294195.
If I have a class Chronus.java with a heading in its class javadoc:
<h2>Time</h2>
then an anchor Chronus.html#time-heading is auto-generated. How do I link
to this anchor from within the class using @see and @link? I have tried
@see ##time-heading
@see Chronus.html##time-heading
@see Chronus##Chronus.html#time-heading
None of which work. What is the correct syntax?
Thanks,
Nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/javadoc-dev/attachments/20240215/dfccf473/attachment.htm>
More information about the javadoc-dev
mailing list