[ 
https://issues.apache.org/jira/browse/SPARK-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197676#comment-15197676
 ] 

Xiangrui Meng commented on SPARK-7992:
--------------------------------------

[~jodersky] Do you mind taking a look at this issue?

We used a patched version of genjavadoc in Spark to hide package private 
members in the generated Java API doc. However, this was not merged into the 
official genjavadoc repo and it creates problems to support new Scala versions 
since genjavadoc requires cross build. It would be good to spend some time to 
get the patch in.

This is the patch 
(https://github.com/typesafehub/genjavadoc/compare/master...mengxr:hide-private)
 but it no longer works in the current genjavadoc master.

cc [~yhuai] and [~rxin]

> Hide private classes/objects in in generated Java API doc
> ---------------------------------------------------------
>
>                 Key: SPARK-7992
>                 URL: https://issues.apache.org/jira/browse/SPARK-7992
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build, Documentation
>    Affects Versions: 1.4.0
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> After SPARK-5610, we found that private classes/objects still show up in the 
> generated Java API doc, e.g., under `org.apache.spark.api.r` we can see
> {code}
> BaseRRDD
> PairwiseRRDD
> RRDD
> SpecialLengths
> StringRRDD
> {code}
> We should update genjavadoc to hide those private classes/methods. The best 
> approach is to find a good mapping from Scala private to Java, and merge it 
> into the main genjavadoc repo. A WIP PR is at 
> https://github.com/typesafehub/genjavadoc/pull/47.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to