scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
232 stars 21 forks source link

Search for external documentation for class files outside of jars. #9635

Closed scabug closed 1 year ago

scabug commented 8 years ago

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.

scabug commented 8 years 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

scabug commented 7 years ago

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

scabug commented 7 years ago

Jason Green (jasonhdgreen-at-gmail.com) said: Verified the links now exist, but are broken per:

9967

scabug commented 7 years ago

@SethTisue said: So we should close this one but leave #9967 open...?

SethTisue commented 1 year ago

hopefully https://github.com/scala/scala/pull/5799 fixed this? if not, speak up