Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Notify user which version of the documentation they're viewing #3330

jasonlcrane opened this Issue Dec 23, 2011 · 4 comments


None yet
4 participants

jasonlcrane commented Dec 23, 2011

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.


toddparker commented Jan 1, 2012

Yeah, Google's results for the library aren't ideal. The yellow flag shows the version but on latest (/test/) it usually says the previous stable release so we should update this flag as soon as possible to 1.1-pre for example.


jasonlcrane commented Jan 2, 2012

Good point on the flag. That helps on the index page but not on the inside pages where you're more likely to end up after a Google search.

If there's an original image I can get my hands on, I'd be happy to update and send you a pull request fixing that and the #jqm-version text.


ajimix commented May 21, 2012

As @jasonlcrane said, if you come from a Google result you wont see the yellow label. Anyway I think that the user has to be notified with something more visible than just the version number, that the docs that is viewing are from a non stable version.


jaspermdegroot commented Sep 24, 2012

The docs are getting a complete make-over but for now I added the version to the footer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment