Repository: spark
Updated Branches:
  refs/heads/branch-2.3 1582945d0 -> 4d4548a6e


[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/4d4548a6
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4d4548a6
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4d4548a6

Branch: refs/heads/branch-2.3
Commit: 4d4548a6eba0fb3e05c6e2457a51541475e456d3
Parents: 1582945
Author: Marcelo Vanzin <[email protected]>
Authored: Tue Jun 12 09:32:14 2018 +0800
Committer: hyukjinkwon <[email protected]>
Committed: Tue Jun 12 09:33:30 2018 +0800

----------------------------------------------------------------------
 project/SparkBuild.scala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/4d4548a6/project/SparkBuild.scala
----------------------------------------------------------------------
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 7469f11..c2e5137 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -728,7 +728,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]

Reply via email to