Documentation versioning: refactor