Skip to content

Commit 85ccee8

Browse files
mengxrrxin
authored andcommitted
[SPARK-5620][DOC] group methods in generated unidoc
It seems that `(ScalaUnidoc, unidoc)` is the correct way to overwrite `scalacOptions` in unidoc. CC: rxin gzm0 Author: Xiangrui Meng <[email protected]> Closes apache#4404 from mengxr/SPARK-5620 and squashes the following commits: f890cf5 [Xiangrui Meng] add -groups to scalacOptions in unidoc
1 parent a9ed511 commit 85ccee8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

project/SparkBuild.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,10 @@ object Unidoc {
374374
),
375375
"-group", "Spark SQL", packageList("sql.api.java", "sql.api.java.types", "sql.hive.api.java"),
376376
"-noqualifier", "java.lang"
377-
)
377+
),
378+
379+
// Group similar methods together based on the @group annotation.
380+
scalacOptions in (ScalaUnidoc, unidoc) ++= Seq("-groups")
378381
)
379382
}
380383

0 commit comments

Comments
 (0)