-
- Downloads
[SPARK-16294][SQL] Labelling support for the include_example Jekyll plugin
## What changes were proposed in this pull request? This PR adds labelling support for the `include_example` Jekyll plugin, so that we may split a single source file into multiple line blocks with different labels, and include them in multiple code snippets in the generated HTML page. ## How was this patch tested? Manually tested. <img width="923" alt="screenshot at jun 29 19-53-21" src="https://cloud.githubusercontent.com/assets/230655/16451099/66a76db2-3e33-11e6-84fb-63104c2f0688.png"> Author: Cheng Lian <lian@databricks.com> Closes #13972 from liancheng/include-example-with-labels.
Showing
- docs/_plugins/include_example.rb 19 additions, 6 deletionsdocs/_plugins/include_example.rb
- docs/sql-programming-guide.md 6 additions, 35 deletionsdocs/sql-programming-guide.md
- examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java 5 additions, 0 deletions...main/java/org/apache/spark/examples/sql/JavaSparkSQL.java
- examples/src/main/python/sql.py 5 additions, 0 deletionsexamples/src/main/python/sql.py
- examples/src/main/scala/org/apache/spark/examples/sql/RDDRelation.scala 8 additions, 2 deletions...ain/scala/org/apache/spark/examples/sql/RDDRelation.scala
Loading
Please register or sign in to comment