[ 
https://issues.apache.org/jira/browse/SPARK-11399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986834#comment-14986834
 ] 

Apache Spark commented on SPARK-11399:
--------------------------------------

User 'yinxusen' has created a pull request for this issue:
https://github.com/apache/spark/pull/9430

> Include_example should support labels to cut out different parts in one 
> example code
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-11399
>                 URL: https://issues.apache.org/jira/browse/SPARK-11399
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Documentation
>            Reporter: Xusen Yin
>
> There are many small examples that do not need to create a single example 
> file. Take the MLlib datatype page – mllib-data-types.md – as an example, 
> code examples like creating vectors and matrices are trivial works. We can 
> merge them into one single vector/matrix creation example. Then we use labels 
> to distinguish each other, such as {% include_example xxxx.scala 
> vector_creation %}.
> The "label way" is also useful in the dialog-style code example: 
> http://spark.apache.org/docs/latest/mllib-linear-methods.html#streaming-linear-regression.



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