You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2016/11/07 22:11:16 UTC

[2/4] incubator-beam-site git commit: Introduce site.release_latest global variable to facilitate Javadoc linking

Introduce site.release_latest global variable to facilitate Javadoc linking


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/commit/de6f77e2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/tree/de6f77e2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/diff/de6f77e2

Branch: refs/heads/asf-site
Commit: de6f77e24952a6385b91b52d769574def89aeef0
Parents: c126c0e
Author: Davor Bonaci <da...@google.com>
Authored: Mon Nov 7 13:29:20 2016 -0800
Committer: Davor Bonaci <da...@google.com>
Committed: Mon Nov 7 13:29:20 2016 -0800

----------------------------------------------------------------------
 _config.yml                          | 5 ++++-
 src/_posts/2016-10-20-test-stream.md | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam-site/blob/de6f77e2/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index a901dda..3dcc970 100644
--- a/_config.yml
+++ b/_config.yml
@@ -44,5 +44,8 @@ downloads: downloads
 # Don't use the page title in the table of contents
 kramdown:
   toc_levels:     2..6
-  
+
+# The most recent release of Beam.
+release_latest: 0.3.0-incubating
+
 # Plugins are configured in the Gemfile.

http://git-wip-us.apache.org/repos/asf/incubator-beam-site/blob/de6f77e2/src/_posts/2016-10-20-test-stream.md
----------------------------------------------------------------------
diff --git a/src/_posts/2016-10-20-test-stream.md b/src/_posts/2016-10-20-test-stream.md
index e2e52de..797f25e 100644
--- a/src/_posts/2016-10-20-test-stream.md
+++ b/src/_posts/2016-10-20-test-stream.md
@@ -60,7 +60,7 @@ be controlled within a test.
 ## Writing Deterministic Tests to Emulate Nondeterminism
 
 The Beam testing infrastructure provides the
-[PAssert]({{ site.baseurl }}/documentation/sdks/javadoc/0.2.0-incubating/)
+[PAssert]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/org/apache/beam/sdk/testing/PAssert.html)
 methods, which assert properties about the contents of a PCollection from within
 a pipeline. We have expanded this infrastructure to include
 [TestStream](https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/TestStream.java),