What is the exact syntax of using @See
scaladoc? How do I reference:
- a method in the same class
- another class
- an "http" reference
?
What is the exact syntax of using @See
scaladoc? How do I reference:
?
The syntax is the same as with any other part of the scaladoc. You basically add the @see
notation, and then write pure text describing the reference. Examples:
@see [[method]]
@see [[YourCurrentClass.method]]
@see [[YourCurrentClass]]
@see See [[scala.concurrent.Future]] for more
@see See [[http://example.com the full documentation]] on possible values of ABC
EDIT:
official documentation on @see: https://docs.scala-lang.org/overviews/scaladoc/for-library-authors.html#usage-tags
official documentation on references in general: https://docs.scala-lang.org/overviews/scaladoc/for-library-authors.html#markup
© 2022 - 2024 — McMap. All rights reserved.