Repository: incubator-reef Updated Branches: refs/heads/master 0549aca0b -> cf158e098
[REEF-351]: Update the releases page for 0.11.0-incubating * Add 0.11.0-incubating apidocs * Add link to 0.11.0 source code on maven * Add new committers JIRA: [REEF-351] https://issues.apache.org/jira/browse/REEF-351 Pull Request: Closes #201 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/cf158e09 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/cf158e09 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/cf158e09 Branch: refs/heads/master Commit: cf158e098391c6df08a59f57de6650e3dac81abf Parents: 0549aca Author: Jason (Joo Seong) Jeong <[email protected]> Authored: Wed Jun 3 21:06:21 2015 +0900 Committer: Byung-Gon Chun <[email protected]> Committed: Wed Jun 3 23:23:52 2015 +0900 ---------------------------------------------------------------------- website/pom.xml | 2 +- website/src/site/apt/team.apt | 7 +++- website/src/site/markdown/downloads.md | 23 ++++++++----- website/src/site/resources/js/release.js | 47 +++++++++++++++++++++++++++ website/src/site/resources/js/test2.js | 45 ------------------------- website/src/site/site.xml | 6 ++-- 6 files changed, 72 insertions(+), 58 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cf158e09/website/pom.xml ---------------------------------------------------------------------- diff --git a/website/pom.xml b/website/pom.xml index 67e5b8b..5d604aa 100644 --- a/website/pom.xml +++ b/website/pom.xml @@ -84,7 +84,7 @@ under the License. <tryUpdate>true</tryUpdate> <pubScmUrl>scm:svn:https://svn.apache.org/repos/asf/incubator/reef/</pubScmUrl> <ignorePathsToDelete> - <ignorePathToDelete>apidocs</ignorePathToDelete> + <ignorePathToDelete>apidocs/**</ignorePathToDelete> </ignorePathsToDelete> </configuration> </plugin> http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cf158e09/website/src/site/apt/team.apt ---------------------------------------------------------------------- diff --git a/website/src/site/apt/team.apt b/website/src/site/apt/team.apt index a6e99e2..0dc002a 100644 --- a/website/src/site/apt/team.apt +++ b/website/src/site/apt/team.apt @@ -85,4 +85,9 @@ Team chobrian | Brian Cho | Seoul National University | *------------*--------------------------*---------------------------* bgchun | Byung-Gon Chun | Seoul National University | -*------------*--------------------------*---------------------------* \ No newline at end of file +*------------*--------------------------*---------------------------* + gwlee | Gyewon Lee | Seoul National University | +*------------*--------------------------*---------------------------* + jsjason | Joo Seong (Jason) Jeong | Seoul National University | +*------------*--------------------------*---------------------------* + http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cf158e09/website/src/site/markdown/downloads.md ---------------------------------------------------------------------- diff --git a/website/src/site/markdown/downloads.md b/website/src/site/markdown/downloads.md index 0d39e45..1ab6f68 100644 --- a/website/src/site/markdown/downloads.md +++ b/website/src/site/markdown/downloads.md @@ -22,17 +22,22 @@ under the License. Choose a release version: <select id="selectRelease" onchange="setReleaseLink()"> - <option value="0.10.0-incubating" selected="selected">0.10.0-incubating</option> + <option value="0.11.0-incubating" selected="selected">0.11.0-incubating</option> + <option value="0.10.0-incubating">0.10.0-incubating</option> </select> <ul id="listRelease"> - <li>Download directly: - <a id="directLink" href="http://www.apache.org/dist/incubator/reef/0.10.0-incubating/apache-reef-0.10.0-incubating.tar.gz"> - apache-reef-0.10.0-incubating.tar.gz - </a></li> - <li>Download with signatures: - <a id="mirrorLink" href="http://www.apache.org/dyn/closer.cgi/incubator/reef/0.10.0-incubating"> - Closest Apache Mirror</a></li> + <li> + Download directly: + <a id="directLink" href="http://www.apache.org/dist/incubator/reef/0.11.0-incubating/apache-reef-0.11.0-incubating.tar.gz"> + apache-reef-0.11.0-incubating.tar.gz + </a> + </li> + <li> + Download with signatures: + <a id="mirrorLink" href="http://www.apache.org/dyn/closer.cgi/incubator/reef/0.11.0-incubating"> + Closest Apache Mirror</a> + </li> </ul> ##Development and Maintenance Branches @@ -76,4 +81,4 @@ REEF artifacts are hosted in [Maven Central](http://search.maven.org/#search|ga| <artifactId>reef-project</artifactId> <version>{$REEF_VERSION}</version> </dependency> - \ No newline at end of file + http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cf158e09/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 new file mode 100644 index 0000000..9699401 --- /dev/null +++ b/website/src/site/resources/js/release.js @@ -0,0 +1,47 @@ +/** + * 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. + */ +var releaseDirect = { + "0.10.0-incubating": "http://www.apache.org/dist/incubator/reef/0.10.0-incubating/apache-reef-0.10.0-incubating.tar.gz", + "0.11.0-incubating": "http://www.apache.org/dist/incubator/reef/0.11.0-incubating/apache-reef-0.11.0-incubating.tar.gz" +}; + +var releaseMirror = { + "0.10.0-incubating": "http://www.apache.org/dyn/closer.cgi/incubator/reef/0.10.0-incubating", + "0.11.0-incubating": "http://www.apache.org/dyn/closer.cgi/incubator/reef/0.11.0-incubating" +}; + +function setReleaseLink() { + var releaseVersion = this.document.getElementById("selectRelease").value; + if (releaseDirect[releaseVersion] == undefined) { + this.document.getElementById("listRelease").style.display= "none"; + + } else { + this.document.getElementById("listRelease").style.display = "block"; + + var releaseDirectStr = releaseDirect[releaseVersion]; + this.document.getElementById("directLink").setAttribute("href", releaseDirectStr); + this.document.getElementById("mirrorLink").setAttribute("href", releaseMirror[releaseVersion]); + + var directReleaseStrSplit = releaseDirectStr.split("/"); + this.document.getElementById("directLink").innerHTML = + directReleaseStrSplit[directReleaseStrSplit.length - 1]; + + } + +} http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cf158e09/website/src/site/resources/js/test2.js ---------------------------------------------------------------------- diff --git a/website/src/site/resources/js/test2.js b/website/src/site/resources/js/test2.js deleted file mode 100644 index 81bce3c..0000000 --- a/website/src/site/resources/js/test2.js +++ /dev/null @@ -1,45 +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. - */ -var releaseDirect = { - "0.10.0-incubating": "http://www.apache.org/dist/incubator/reef/0.10.0-incubating/apache-reef-0.10.0-incubating.tar.gz" -}; - -var releaseMirror = { - "0.10.0-incubating": "http://www.apache.org/dyn/closer.cgi/incubator/reef/0.10.0-incubating" -}; - -function setReleaseLink() { - var releaseVersion = this.document.getElementById("selectRelease").value; - if (releaseDirect[releaseVersion] == undefined) { - this.document.getElementById("listRelease").style.display= "none"; - - } else { - this.document.getElementById("listRelease").style.display = "block"; - - var releaseDirectStr = releaseDirect[releaseVersion]; - this.document.getElementById("directLink").setAttribute("href", releaseDirectStr); - this.document.getElementById("mirrorLink").setAttribute("href", releaseMirror[releaseVersion]); - - var directReleaseStrSplit = releaseDirectStr.split("/"); - this.document.getElementById("directLink").innerHTML = - directReleaseStrSplit[directReleaseStrSplit.length - 1]; - - } - -} http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/cf158e09/website/src/site/site.xml ---------------------------------------------------------------------- diff --git a/website/src/site/site.xml b/website/src/site/site.xml index d42c697..b92b4a6 100644 --- a/website/src/site/site.xml +++ b/website/src/site/site.xml @@ -58,7 +58,7 @@ under the License. <body> <head> - <script src="js/test2.js" type="text/javascript"></script> + <script src="js/release.js" type="text/javascript"></script> </head> <breadcrumbs> @@ -75,6 +75,8 @@ under the License. <item name="License" href="license.html"/> <item name="Downloads" href="downloads.html"/> <item name="0.10.0-incubating API" href="apidocs/0.10.0-incubating/index.html"/> + <item name="0.11.0-incubating API" href="apidocs/0.11.0-incubating/index.html"/> + </menu> <menu name="Documentation"> @@ -122,4 +124,4 @@ under the License. <menu ref="reports"/> --> </body> -</project> \ No newline at end of file +</project>
