GitHub user WeichenXu123 opened a pull request: https://github.com/apache/spark/pull/14015
[SPARK-16345][Documentation][Examples][GraphX] Extract graphx programming guide example snippets from source files instead of hard code them ## What changes were proposed in this pull request? I extract 6 example programs from GraphX programming guide and replace them with `include_example` label. The 6 example programs are: - AggregateMessagesExample.scala - SSSPExample.scala - TriangleCountingExample.scala - ConnectedComponentsExample.scala - ComprehensiveExample.scala - PageRankExample.scala All the example code can run using `bin/run-example graphx.EXAMPLE_NAME` ## How was this patch tested? Manual. You can merge this pull request into a Git repository by running: $ git pull https://github.com/WeichenXu123/spark graphx_example_plugin Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14015.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #14015 ---- commit 689d2f67e15c4e7d6b5b184712172bc46bce2128 Author: WeichenXu <weichenxu...@outlook.com> Date: 2016-07-01T13:37:52Z add graphx example.4 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org