code: def _make_refnode(self, fromdocname, builder, docname, labelid, sectname,
                        contnode, **kwargs):
          
          nodeclass = kwargs.pop('nodeclass', nodes.reference)
          newnode = nodeclass('', '', internal=True, **kwargs)
          innernode = nodes.emphasis(sectname, sectname)
          if docname == fromdocname:
              newnode['refid'] = labelid
          else:
              # Set more info on contnode. In case the get_relative_uri call
              # raises NoUri, the builder will then have to resolve these.
              contnode = addnodes.pending_xref('')
              contnode['refdocname'] = docname
              contnode['refsectname'] = sectname
              newnode['refuri'] = builder.get_relative_uri(fromdocname, docname)
              if labelid:
                  newnode['refuri'] += '#' + labelid
          newnode.append(innernode)
          return newnode
docs: Return reference node for something like ``:chpl:chplref:``.