Adapt generation of docu to new handling of version