How to disambiguate links to methods in scaladoc?

后端 未结 4 1457
梦谈多话
梦谈多话 2021-02-03 19:57

I\'m documenting a Scala class with overloaded methods. How can I distinguish them when referring to them in scaladoc comments? For example, if I have

/**
 * The         


        
4条回答
  •  死守一世寂寞
    2021-02-03 20:33

    I'm still surprised at how difficult it is to get this working and the lack of documentation for scaladoc itself. I decided to search the scala code base itself in hope of some useful examples. The best ones that I found were in https://github.com/scala/scala/blob/2.12.x/test/scaladoc/resources/links.scala. Hopefully this is useful for someone else who comes across this.

提交回复
热议问题