[
https://issues.apache.org/jira/browse/SPARK-12370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415200#comment-15415200
]
Sean Owen commented on SPARK-12370:
-----------------------------------
The docs build does define a variable that indicates the current version that
the docs are built for, like 2.0.0. You may indeed be able to use that in URLs
to make them point to the right tag in git. Look into using
{{SPARK_VERSION_SHORT}} in the docs.
> Documentation should link to examples from its own release version
> ------------------------------------------------------------------
>
> Key: SPARK-12370
> URL: https://issues.apache.org/jira/browse/SPARK-12370
> Project: Spark
> Issue Type: Improvement
> Components: Documentation
> Reporter: Brian London
> Priority: Minor
>
> When documentation is built is should reference examples from the same build.
> There are times when the docs have links that point to files in the github
> head which may not be valid on the current release.
> As an example the spark streaming page for 1.5.2 (currently at
> http://spark.apache.org/docs/latest/streaming-programming-guide.html) links
> to the stateful network word count example (at
> https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/streaming/StatefulNetworkWordCount.scala).
> That example file utilizes a number of 1.6 features that are not available
> in 1.5.2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]