adds versions to doc