add parameter extra_ext to include others file extension in documentation