Controls whether to generate documentation for any deprecated API.