Add rendered doc content to failure message