docs: def resource_redirect(id):
      '''
      Redirect to the latest version of a resource given its identifier.
      '''
      resource = get_resource(id)
      return redirect(resource.url.strip()) if resource else abort(404)