Repository: spark Updated Branches: refs/heads/branch-2.1 d405e6657 -> 858e89b43
[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 <van...@cloudera.com> Closes #21521 from vanzin/SPARK-23732. (cherry picked from commit dc22465f3e1ef5ad59306b1f591d6fd16d674eb7) Signed-off-by: Marcelo Vanzin <van...@cloudera.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/858e89b4 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/858e89b4 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/858e89b4 Branch: refs/heads/branch-2.1 Commit: 858e89b43db6af72d584213bb7c11ac6687666f6 Parents: d405e66 Author: Marcelo Vanzin <van...@cloudera.com> Authored: Tue Jun 12 09:32:14 2018 +0800 Committer: Marcelo Vanzin <van...@cloudera.com> Committed: Wed Jun 13 16:12:50 2018 -0700 ---------------------------------------------------------------------- project/SparkBuild.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/858e89b4/project/SparkBuild.scala ---------------------------------------------------------------------- diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index e772fa0..6afc5f0 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -757,7 +757,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: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org