[ 
https://issues.apache.org/jira/browse/SPARK-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph K. Bradley updated SPARK-6015:
-------------------------------------
    Description: 
The Python docs display {code}[source]{code} links which should link to source 
code, but none work in the documentation provided on the Apache Spark website.  
E.g., go here 
[https://spark.apache.org/docs/latest/api/python/pyspark.mllib.html#module-pyspark.mllib.regression]
 and click a source code link on the right.

The PR for [SPARK-5994] included a fix of this for 1.3 which should be 
backported to 1.2.

  was:
The Python docs display {code}[source]{code} links which should link to source 
code, but none work in the documentation provided on the Apache Spark website.  
E.g., go here 
[https://spark.apache.org/docs/latest/api/python/pyspark.mllib.html#module-pyspark.mllib.regression]
 and click a source code link on the right.

I believe these are generated because we have viewcode set in the doc conf 
file: [https://github.com/apache/spark/blob/master/python/docs/conf.py#L33]

I'm not sure why the source code is not being generated/posted.  Should the 
links be removed, or do we want to add the source code?


> Backport Python doc source code link fix to 1.2
> -----------------------------------------------
>
>                 Key: SPARK-6015
>                 URL: https://issues.apache.org/jira/browse/SPARK-6015
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, PySpark
>    Affects Versions: 1.3.0
>            Reporter: Joseph K. Bradley
>            Assignee: Davies Liu
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> The Python docs display {code}[source]{code} links which should link to 
> source code, but none work in the documentation provided on the Apache Spark 
> website.  E.g., go here 
> [https://spark.apache.org/docs/latest/api/python/pyspark.mllib.html#module-pyspark.mllib.regression]
>  and click a source code link on the right.
> The PR for [SPARK-5994] included a fix of this for 1.3 which should be 
> backported to 1.2.



--
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