You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by do...@apache.org on 2015/11/13 20:58:51 UTC

incubator-reef git commit: [REEF-929] Add links to release notes to Downloads page; delete api.html

Repository: incubator-reef
Updated Branches:
  refs/heads/master 835bf945c -> d0d9bbc7e


[REEF-929] Add links to release notes to Downloads page; delete api.html

This change:
  * adds links to release notes for each release to Downloads page
  * deletes unreferenced page api.html

JIRA:
  [REEF-929](https://issues.apache.org/jira/browse/REEF-929)
  [REEF-920](https://issues.apache.org/jira/browse/REEF-920)

Pull request:
  This closes #636


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

Branch: refs/heads/master
Commit: d0d9bbc7e78d681adbd45746a7be90ac454febb0
Parents: 835bf94
Author: Mariia Mykhailova <ma...@apache.org>
Authored: Fri Nov 13 10:50:26 2015 -0800
Committer: Dongjoon Hyun <do...@apache.org>
Committed: Sat Nov 14 04:58:02 2015 +0900

----------------------------------------------------------------------
 website/src/site/markdown/api.md         | 21 ---------------------
 website/src/site/markdown/downloads.md   |  3 +++
 website/src/site/resources/js/release.js |  8 ++++++++
 3 files changed, 11 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/d0d9bbc7/website/src/site/markdown/api.md
----------------------------------------------------------------------
diff --git a/website/src/site/markdown/api.md b/website/src/site/markdown/api.md
deleted file mode 100644
index 6b0f182..0000000
--- a/website/src/site/markdown/api.md
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-#API
-
-- [0.10.0-incubating](apidocs/0.10.0-incubating/index.html)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/d0d9bbc7/website/src/site/markdown/downloads.md
----------------------------------------------------------------------
diff --git a/website/src/site/markdown/downloads.md b/website/src/site/markdown/downloads.md
index 8dda80d..4cb896f 100644
--- a/website/src/site/markdown/downloads.md
+++ b/website/src/site/markdown/downloads.md
@@ -48,6 +48,9 @@ Choose a release version:
         <br />
         SHA512: <span id="sha512Text">8f542aeaf2dc3b241bdcd0d343c607355e1f09e1ca89bbc3431b0cc1f0908479511f60900a91a6731051ffef8af30488eb85df567c32bc2db9d3d91014c4fed7</span>
     </li>
+    <li>
+        <a id="releaseNotesLink" href="http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315820&amp;version=12332972">Release notes</a>
+    </li>
 </ul>
 
 ##Development and Maintenance Branches

http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/d0d9bbc7/website/src/site/resources/js/release.js
----------------------------------------------------------------------
diff --git a/website/src/site/resources/js/release.js b/website/src/site/resources/js/release.js
index 1eb4f30..1f4e7f1 100644
--- a/website/src/site/resources/js/release.js
+++ b/website/src/site/resources/js/release.js
@@ -37,6 +37,13 @@ var releaseSha512 = {
     "0.13.0-incubating": "8f542aeaf2dc3b241bdcd0d343c607355e1f09e1ca89bbc3431b0cc1f0908479511f60900a91a6731051ffef8af30488eb85df567c32bc2db9d3d91014c4fed7"
 };
 
+var releaseNotes = {
+    "0.10.0-incubating": "https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315820&version=12329065",
+    "0.11.0-incubating": "https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315820&version=12329282",
+    "0.12.0-incubating": "https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315820&version=12332143",
+    "0.13.0-incubating": "https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315820&version=12332972"
+};
+
 function setReleaseLink() {
     var releaseVersion = this.document.getElementById("selectRelease").value;
     if (releaseDirect[releaseVersion] == undefined) {
@@ -49,6 +56,7 @@ function setReleaseLink() {
         this.document.getElementById("directLink").setAttribute("href", releaseDirectStr);
         this.document.getElementById("mirrorLink").setAttribute("href", releaseMirror[releaseVersion]);
         this.document.getElementById("sha512Text").innerHTML = releaseSha512[releaseVersion];
+        this.document.getElementById("releaseNotesLink").setAttribute("href", releaseNotes[releaseVersion]);
 
         var directReleaseStrSplit = releaseDirectStr.split("/");
         this.document.getElementById("directLink").innerHTML =