[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 <meng@databricks.com>

Closes #4404 from mengxr/SPARK-5620 and squashes the following commits:

f890cf5 [Xiangrui Meng] add -groups to scalacOptions in unidoc
This commit is contained in:
Xiangrui Meng 2015-02-05 16:26:51 -08:00 committed by Reynold Xin
parent a9ed51178c
commit 85ccee81ac

View file

@ -374,7 +374,10 @@ object Unidoc {
),
"-group", "Spark SQL", packageList("sql.api.java", "sql.api.java.types", "sql.hive.api.java"),
"-noqualifier", "java.lang"
)
),
// Group similar methods together based on the @group annotation.
scalacOptions in (ScalaUnidoc, unidoc) ++= Seq("-groups")
)
}