Repository: spark Updated Branches: refs/heads/master 048197749 -> dc22465f3
[SPARK-23732][DOCS] Fix source links in generated scaladoc. Apply the suggestion on the bug to fix source links. Tested with the 2.3.1 release docs. Author: Marcelo Vanzin <[email protected]> Closes #21521 from vanzin/SPARK-23732. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/dc22465f Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/dc22465f Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/dc22465f Branch: refs/heads/master Commit: dc22465f3e1ef5ad59306b1f591d6fd16d674eb7 Parents: 0481977 Author: Marcelo Vanzin <[email protected]> Authored: Tue Jun 12 09:32:14 2018 +0800 Committer: hyukjinkwon <[email protected]> Committed: Tue Jun 12 09:32:14 2018 +0800 ---------------------------------------------------------------------- project/SparkBuild.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/dc22465f/project/SparkBuild.scala ---------------------------------------------------------------------- diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 4cb6495..adc2b6b 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -729,7 +729,8 @@ object Unidoc { scalacOptions in (ScalaUnidoc, unidoc) ++= Seq( "-groups", // Group similar methods together based on the @group annotation. - "-skip-packages", "org.apache.hadoop" + "-skip-packages", "org.apache.hadoop", + "-sourcepath", (baseDirectory in ThisBuild).value.getAbsolutePath ) ++ ( // Add links to sources when generating Scaladoc for a non-snapshot release if (!isSnapshot.value) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
