code: def visit_reference(self, node):
      if node.get("newtab") or not (
          node.get("target")
          or node.get("internal")
          or "refuri" not in node
      ):
          node["target"] = "_blank"
      super().visit_reference(node)
  
file_path: tnt/docs/source/conf.py
imports: import os
  import sys
  import pytorch_sphinx_theme
  from sphinx.writers.html import HTMLTranslator
  from torchtnt import __version__
label_desc: Use image node_id 1 for calling the PatchedHTMLTranslator obj's underlying member method code with example usage: obj.visit_reference(node) without return types