code: def parse_django_adminopt_node(env, sig, signode):
      
      from sphinx.domains.std import option_desc_re
      count = 0
      firstname = ''
      for m in option_desc_re.finditer(sig):
          optname, args = m.groups()
          if count:
              signode += addnodes.desc_addname(', ', ', ')
          signode += addnodes.desc_name(optname, optname)
          signode += addnodes.desc_addname(args, args)
          if not count:
              firstname = optname
          count += 1
      if not count:
          for m in simple_option_desc_re.finditer(sig):
              optname, args = m.groups()
              if count:
                  signode += addnodes.desc_addname(', ', ', ')
              signode += addnodes.desc_name(optname, optname)
              signode += addnodes.desc_addname(args, args)
              if not count:
                  firstname = optname
              count += 1
      if not firstname:
          raise ValueError
      return firstname
docs: A copy of sphinx.directives.CmdoptionDesc.parse_signature()