automatic doc versioning