You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2015/02/06 01:26:54 UTC

spark git commit: [SPARK-5620][DOC] group methods in generated unidoc

Repository: spark
Updated Branches:
  refs/heads/master a9ed51178 -> 85ccee81a


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

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

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


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

Branch: refs/heads/master
Commit: 85ccee81acef578ec4b40fb5f5d97b9e24314f35
Parents: a9ed511
Author: Xiangrui Meng <me...@databricks.com>
Authored: Thu Feb 5 16:26:51 2015 -0800
Committer: Reynold Xin <rx...@databricks.com>
Committed: Thu Feb 5 16:26:51 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/85ccee81/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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org