Use metadata in doc conf