[ https://issues.apache.org/jira/browse/SPARK-18825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011504#comment-16011504 ]
Maciej Szymkiewicz commented on SPARK-18825: -------------------------------------------- It is a bit hack but I made some experiments and patched Knitr to: - Remove {{-method}} entries from {{00index.html}} - Strip {{donrun}} comments so we can run {{examples}} as a part of docs build. Right now it will fail on build (not all examples are runnable) but it could be a path worth exploring. Here is the branch: https://github.com/zero323/knitr/tree/SPARK-DOCS > Eliminate duplicate links in SparkR API doc index > ------------------------------------------------- > > Key: SPARK-18825 > URL: https://issues.apache.org/jira/browse/SPARK-18825 > Project: Spark > Issue Type: Documentation > Components: Documentation, SparkR > Reporter: Joseph K. Bradley > > The SparkR API docs contain many duplicate links with suffixes {{-method}} or > {{-class}} in the index . E.g., {{atan}} and {{atan-method}} link to the same > doc. > Copying from [~felixcheung] in [SPARK-18332]: > {quote} > They are because of the > {{@ aliases}} > tags. I think we are adding them because CRAN checks require them to match > the specific format - [~shivaram] would you know? > I am pretty sure they are double-listed because in addition to aliases we > also have > {{@ rdname}} > which automatically generate the links as well. > I suspect if we change all the rdname to match the string in aliases then > there will be one link. I can take a shot at this to test this out, but > changes will be very extensive - is this something we could get into 2.1 > still? > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org