Update documentation build to use saner version extraction

Patch by Igor Poretsky

Change-Id: I0c61d42dcac79b72c6b13d700732237a845f676e
2 files changed