code: def arxiv_role(
      typ, rawtext, text, lineno, inliner, options=None, content=None
  ):
      """Create an arxive role."""
      if options is None:
          options = {}
      if content is None:
          content = []
      text = utils.unescape(text)
      has_explicit_title, title, part = split_explicit_title(text)
      full_url = "https://arxiv.org/abs/" + part
      if not has_explicit_title:
          title = "arXiv:" + part
      pnode = nodes.reference(
          title, title, internal=False, refuri=full_url
      )
      return [pnode], []
  
imports: from docutils import nodes, utils
  from sphinx.util.nodes import split_explicit_title
label_desc: Use image node_id 2 for calling a global function with example usage: arxiv_role(typ, rawtext, text, lineno, inliner, options, content) and returns: list,  list