【发布时间】:2018-12-19 12:05:28
【问题描述】:
使用@See scaladoc 的确切语法是什么?如何参考:
- 同一类中的方法
- 另一个类
- “http”参考
?
【问题讨论】:
使用@See scaladoc 的确切语法是什么?如何参考:
?
【问题讨论】:
语法与 scaladoc 的任何其他部分相同。您基本上添加@see 符号,然后编写描述引用的纯文本。例子:
@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编辑:
@see 上的官方文档:https://docs.scala-lang.org/overviews/scaladoc/for-library-authors.html#usage-tags
关于一般参考的官方文档:https://docs.scala-lang.org/overviews/scaladoc/for-library-authors.html#markup
【讨论】: