Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
jasonlcrane opened this Issue · 4 comments

4 participants

@jasonlcrane

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

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

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

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
Collaborator

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
Something went wrong with that request. Please try again.