[docs] fix generation of version string