Open Duhemm opened 6 years ago
an example where it works is https://github.com/scala/scala-parser-combinators/blob/09c453acf32369389d67c8034b928510351879d9/shared/src/main/scala/scala/util/parsing/combinator/RegexParsers.scala#L20 , I ran doc
locally and the resulting jvm/target/scala-2.12/api/scala/util/parsing/combinator/RegexParsers.html
has the proper link to scala.Char
in that repo's build.sbt I see:
apiMappings += (scalaInstance.value.libraryJar ->
url(s"https://www.scala-lang.org/api/${scalaVersion.value}/")),
which I believe is what makes it work.
but see also https://github.com/ThoughtWorksInc/sbt-api-mappings which packages this up for you and supports other libraries as well
a scala/docs.scala-lang PR correcting the doc would be welcome
Scaladoc is supposed to be able to link to classes of the standard library, as per the documentation (see [https://docs.scala-lang.org/style/scaladoc.html](Scaladoc style guide), section "General Style", 4th bullet:
This doesn't work. I thought at first that the issue came from a problem with the dots that need escaping, or that maybe I needed to disambiguate between term and type, so I tried again with the following source:
I'd have expected at least one of the links to work, but none of them resolved:
Does this feature actually exist?