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.