Skip to content

Commit

Permalink
[SPARK-23732][docs] Fix source links in generated scaladoc.
Browse files Browse the repository at this point in the history
Apply the suggestion on the bug to fix source links. Tested with
the 2.3.1 release docs.
  • Loading branch information
Marcelo Vanzin committed Jun 9, 2018
1 parent f07c506 commit 62301ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 62301ce

Please sign in to comment.