Version substitution 724

Fixes #724

I have tested this by setting `version = '0.1.2-99-ge08b10f'` in `conf.py` and seeing an error:

``gettingstarted/tutorial/vagrant-setup.rst:202:ge:vagrant-setup``

without this fix, and no error with this fix.
Is this going to work on RTD?