Repository: spark
Updated Branches:
  refs/heads/branch-1.3 50c48ebbe -> e2be79d1b


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

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

f890cf5 [Xiangrui Meng] add -groups to scalacOptions in unidoc

(cherry picked from commit 85ccee81acef578ec4b40fb5f5d97b9e24314f35)
Signed-off-by: Reynold Xin <r...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e2be79d1
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e2be79d1
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e2be79d1

Branch: refs/heads/branch-1.3
Commit: e2be79d1bc7e571127751660ec9189af3f6d90ad
Parents: 50c48eb
Author: Xiangrui Meng <m...@databricks.com>
Authored: Thu Feb 5 16:26:51 2015 -0800
Committer: Reynold Xin <r...@databricks.com>
Committed: Thu Feb 5 16:26:58 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/e2be79d1/project/SparkBuild.scala
----------------------------------------------------------------------
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 93698ef..f63f9c1 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -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")
   )
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to