removed failing condition when doc is still to be generated