You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/11/03 08:22:27 UTC

[jira] [Assigned] (SPARK-11399) Include_example should support labels to cut out different parts in one example code

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

Apache Spark reassigned SPARK-11399:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org