Closed scabug closed 1 year ago
Imported From: https://issues.scala-lang.org/browse/SI-9635?orig=1 Reporter: Jason Green (jasonhdgreen-at-gmail.com) Affected Versions: 2.12.0-M3 See #9967
Jason Green (jasonhdgreen-at-gmail.com) said: I'm attempting to verify, but I believe this was fixed for 2.12.x here: https://github.com/scala/scala/pull/5190/files#diff-a8923d5859b1361351aee7a2dd088eabR47
Jason Green (jasonhdgreen-at-gmail.com) said: Verified the links now exist, but are broken per:
@SethTisue said: So we should close this one but leave #9967 open...?
hopefully https://github.com/scala/scala/pull/5799 fixed this? if not, speak up
When the classpath references a unpackaged (not a jar) directory, scaladoc does not generate links to the url provided via the -doc-external-doc flag.
Pretty sure this fixes it: https://github.com/jgrean/scala/commit/becc3628086409d1a1f29663865d3227ec5fa2a9
But I need to figure out the testing+PR process, and verify I've used the canonical way to verify a class file is part of a classpath, before I'm ready to submit a PR.
Example Case: We have two separate scala libraries we're building from source in the same sbt parent project, with nightly scaladoc builds. Currently it's a pain to link them without first packaging the dependency as a jar and referencing that in the dependent project instead of the sbt project.