jquery/jquery-mobile — Issue #3330: Notify user which version of the documentation they're viewing
Author: jasonlcrane
Created: 2011-12-23 18:42:17+00:00
State: open

Other than the address bar (unless your mobile OS hid it automatically), there is no way to tell which version of the jQuery Mobile documentation you're viewing. Seems like there's a decent chance people are unknowingly landing on previous versions of the docs after a Google search.

Lately I'm noticing that the test build is generally the first result, which is good, but I'm wondering if it would make sense to add a version number to the documentation page headers. Something like this: http://jsbin.com/ubumog. It should probably be on the right but the "Edit in jsbin.com" message was hiding it.

Adding that wouldn't fix the problem with previous versions of the docs, but I don't know how big of an issue that really is. I was playing around with something that could be added to the jqm-docs/js file, but I just ended up with a Chrome userscript that notifies you if you're on an old version. For what it's worth: https://gist.github.com/1478639

For reference, here's a search results page for "jquery mobile pageinit". The first result for jquerymobile.com is to the test docs, followed by the alpha 4.1 release.