Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

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

@jasonlcrane

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions