caskdata/cdap — pull request #902 by awholegunch (2014-12-31 18:44:43+00:00)
Title: Create sidebar list of documentation versions

[Example Documentation Staged] (http://stg-web101.sw.joyent.continuuity.net/cdap/2.6.0-SNAPSHOT-r2.6.0_doc_versions/en/index.html)

- Adds a list of different CDAP versions to the left sidebar of the documentation
- Adds a version to the top of the page ("CDAP Documentation v2.6.0")
- Removes the duplicate list of manuals on the first index page
- Corrects a minor typographical mistake
- Removed the hard-coding of certain files in the CDAP Theme, and replaced that with a mechanism in the files themselves
- Removed duplicate use of strings (where possible) to prevent errors

The list is generated on the fly, using a JSONP list maintained on the web server. This means:
- If there is no internet connection, there is no list
- If the list changes in the future, it automatically changes to reflect the currently available versions (or, at least, the ones we want to mention)

Caveats: if you are looking at a development version (such as 2.6.0-SNAPSHOT) it does not show in the list. Nor is there a link to any local (on disc) versions, including the one you may be browsing.