[backport-1.3]: Let tools/generate_units_documentation.py recognize Vault version
A solution for issue
#2738 (closed)
needs to be backported to 1.3.x