code: def patched_make_field(self, types, domain, items, **kw):
      # `kw` catches `env=None` needed for newer sphinx while maintaining
      #  backwards compatibility when passed along further down!
  
      # type: (List, unicode, Tuple) -> nodes.field
      def handle_item(fieldarg, content):
          par = nodes.paragraph()
          par += addnodes.literal_strong(
              "", fieldarg
          )  # Patch: this line added
          # par.extend(self.make_xrefs(self.rolename, domain, fieldarg,
          #                           addnodes.literal_strong))
          if fieldarg in types:
              par += nodes.Text(" (")
              # NOTE: using .pop() here to prevent a single type node to be
              # inserted twice into the doctree, which leads to
              # inconsistencies later when references are resolved
              fieldtype = types.pop(fieldarg)
              if len(fieldtype) == 1 and isinstance(
                  fieldtype[0], nodes.Text
              ):
                  typename = fieldtype[0].astext()
                  builtin_types = [
                      "int",
                      "long",
                      "float",
                      "bool",
                      "type",
                  ]
                  for builtin_type in builtin_types:
                      pattern = rf"(?<![\w.]){builtin_type}(?![\w.])"
                      repl = f"python:{builtin_type}"
                      typename = re.sub(pattern, repl, typename)
                  par.extend(
                      self.make_xrefs(
                          self.typerolename,
                          domain,
                          typename,
                          addnodes.literal_emphasis,
                          **kw,
                      )
                  )
              else:
                  par += fieldtype
              par += nodes.Text(")")
          par += nodes.Text(" -- ")
          par += content
          return par
  
      fieldname = nodes.field_name("", self.label)
      if len(items) == 1 and self.can_collapse:
          fieldarg, content = items[0]
          bodynode = handle_item(fieldarg, content)
      else:
          bodynode = self.list_type()
          for fieldarg, content in items:
              bodynode += nodes.list_item(
                  "", handle_item(fieldarg, content)
              )
      fieldbody = nodes.field_body("", bodynode)
      return nodes.field("", fieldname, fieldbody)
  
file_path: pytorch/docs/source/conf.py
imports: import os
  import pkgutil
  import re
  from os import path
  import torch
  import pytorch_sphinx_theme
  from sphinx.ext.coverage import CoverageBuilder
  from sphinx.writers import html, html5
  import sphinx.ext.doctest
  from docutils import nodes
  from sphinx import addnodes
  from sphinx.util.docfields import TypedField
label_desc: Use image node_id 5 for calling a global function with example usage: patched_make_field(types, domain, items) and returns: nodes, par