cloudfoundry/api-docs — pull request #1 by philwhln (2014-12-10 21:22:52+00:00)
Title: Update app to provide linkable docs across any cf-release version + new version discovery

"/" now redirects to the latest known cf-release version, eg. "/193/".

Proxies API docs from relevant API bucket. Keeps mapping of cf-release version => s3 bucket name (travis build id) in memory with known ones hard-coded. Discovers new or unknown version mappings.

Adds links to the top of the page. eg. [192](/192/) **193** [194](/194/) which will link to the same page on different version.

Rewrites local docs URLs in HTML to be prefix with current version. eg. /app_usage_events/list_all_app_usage_events.html => /193/app_usage_events/list_all_app_usage_events.html

TODO: Move cache to shared cache (Redis?) and move new cf-release version discovery to offline process which updates the cache in the background.

NOTE: Currently 194 (the latest cf-release at time of writing) is commented out to demonstrate discovery.