...
HTML files will be generated under $REEF_HOME/target/site/apidocs. Move all files and folders from the new release's $REEF_HOME/target/site/apidocs to your PR branch's $REEF_HOME/website/target/staging/site/apidocs/$VERSION_NUM. For example, if the new release version is 0.1214.0-incubating, then you would first run 'mvn javadoc:aggregate' at $REEF_HOME of the apache-reef-0.12.0 -incubating source code. Then, you should move the generated files and folders to $REEF_HOME/website/target/staging/site/apidocs/0.1214.0 -incubating of the incubator- reef source code (the branch you created). They will be uploaded with the new website content, during the publishing step described below.
...
Code Block | ||
---|---|---|
| ||
<item name="0.1214.0-incubating API" href="apidocs/0.1214.0-incubating/index.html"/> |
The new link should appear on the left sidebar, together with the other links.
...
Code Block | ||
---|---|---|
| ||
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", "0.12.0-incubating": "http://www.apache.org/dist/reef/0.12.0-incubating/apache-reef-0.12.0-incubating.tar.gz", "0.13.0-incubating": "http://www.apache.org/dist/reef/0.13.0-incubating/apache-reef-0.13.0-incubating.tar.gz", "0.14.0": "http://www.apache.org/dist/reef/0.14.0/apache-reef-0.14.0.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/reef/0.11.0-incubating", "0.12.0-incubating": "http://www.apache.org/dyn/closer.cgi/incubatorreef/0.12.0-incubating", "0.13.0-incubating": "http://www.apache.org/dyn/closer.cgi/reef/0.1113.0-incubating", "0.14.0": "http://www.apache.org/dyn/closer.cgi/reef/0.14.0", }; |
Modifying the Downloads page to display latest version by default
...
Code Block | ||
---|---|---|
| ||
<select id="selectRelease" onchange="setReleaseLink()"> <option value="0.14.0" selected="selected">0.14.0</option> <option value="0.13.0-incubating">0.13.0-incubating</option> <option value="0.1112.0-incubating" selected="selected>0.12.0-incubating</option> <option value="0.11.0-incubating">0.11.0-incubating</option> <option value="0.10.0-incubating">0.10.0-incubating</option> </select> |
...