aboutsummaryrefslogtreecommitdiff
path: root/project/MimaExcludes.scala
diff options
context:
space:
mode:
authorXin Ren <iamshrek@126.com>2016-03-21 16:09:34 -0700
committerXiangrui Meng <meng@databricks.com>2016-03-21 16:09:34 -0700
commit1af8de200c4d3357bcb09e7bbc6deece00e885f2 (patch)
tree7201a72a2110684f77760fa601b07c20cc8ef961 /project/MimaExcludes.scala
parentf3717fc7c97ea402c9ddf9020405070421eeb4a4 (diff)
downloadspark-1af8de200c4d3357bcb09e7bbc6deece00e885f2.tar.gz
spark-1af8de200c4d3357bcb09e7bbc6deece00e885f2.tar.bz2
spark-1af8de200c4d3357bcb09e7bbc6deece00e885f2.zip
[SPARK-13019][DOCS] Replace example code in mllib-statistics.md using include_example
https://issues.apache.org/jira/browse/SPARK-13019 The example code in the user guide is embedded in the markdown and hence it is not easy to test. It would be nice to automatically test them. This JIRA is to discuss options to automate example code testing and see what we can do in Spark 1.6. Goal is to move actual example code to spark/examples and test compilation in Jenkins builds. Then in the markdown, we can reference part of the code to show in the user guide. This requires adding a Jekyll tag that is similar to https://github.com/jekyll/jekyll/blob/master/lib/jekyll/tags/include.rb, e.g., called include_example. `{% include_example scala/org/apache/spark/examples/mllib/SummaryStatisticsExample.scala %}` Jekyll will find `examples/src/main/scala/org/apache/spark/examples/mllib/SummaryStatisticsExample.scala` and pick code blocks marked "example" and replace code block in `{% highlight %}` in the markdown. See more sub-tasks in parent ticket: https://issues.apache.org/jira/browse/SPARK-11337 Author: Xin Ren <iamshrek@126.com> Closes #11108 from keypointt/SPARK-13019.
Diffstat (limited to 'project/MimaExcludes.scala')
0 files changed, 0 insertions, 0 deletions