code: def _make_gh_link_node(app, rawtext, role, kind, api_type, id, options=None):
      ''' Return a link to a Bokeh Github resource.
  
      Args:
          app (Sphinx app) : current app
          rawtext (str) : text being replaced with link node.
          role (str) : role name
          kind (str) : resource type (issue, pull, etc.)
          api_type (str) : type for api link
          id : (str) : id of the resource to link to
          options (dict) : options dictionary passed to role function
  
      '''
      url = "%s/%s/%s" % (_BOKEH_GH, api_type, id)
      options = options or {}
      set_classes(options)
      node = nodes.reference(
          rawtext, kind + utils.unescape(id), refuri=url, **options)
      return nodf _make_gh_link_node(app, rawtext, role, kind, api_type, id, options=None):
      ''' Return a link to a Bokeh Github resource.
  
      Args:
          app (Sphinx app) : current app
          rawtext (str) : text being replaced with link node.
          role (str) : role name
          kind (str) : resource type (issue, pull, etc.)
          api_type (str) : type for api link
          id : (str) : id of the resource to link to
          options (dict) : options dictionary passed to role function
  
      '''
      url = "%s/%s/%s" % (_BOKEH_GH, api_type, id)
      options = options or {}
      set_classes(options)
      node = nodes.reference(
          rawtext, kind + utils.unescape(id), refuri=url, **options)
      return node
docs: Return a link to a Bokeh Github resource.
  
      Args:
          app (Sphinx app) : current app
          rawtext (str) : text being replaced with link node.
          role (str) : role name
          kind (str) : resource type (issue, pull, etc.)
          api_type (str) : type for api link
          id : (str) : id of the resource to link to
          options (dict) : options dictionary passed to role function