Auto-generate docinfo with revision history