code: def _create_doc_summary(self, obj, fullname, refrole):
          
          summary_text = extract_docstring_summary(get_docstring(obj))
          summary_text = summary_text.strip()
          # Strip the last "." because the linked ellipses take its place
          if summary_text.endswith('.'):
              summary_text = summary_text.rstrip('.')
          content_node_p = nodes.paragraph(text=summary_text)
          content_node_p += self._create_api_details_link(fullname, refrole)
          return content_node_p
docs: Create a paragraph containing the object's one-sentence docstring
          summary with a link to further documentation.
  
          The paragrah should be inserted into the ``desc`` node's
          ``desc_content``.