Include warning if version of documentation is not x.y.z - fixes 560

Fixes #560.

This strategy may need a slight tweak as part of #561, depending how we keep the version in `conf.py` stable on release branches.
I'd replace the `*` with `+` to ensure there's at least one or more matching character between the dots.