code: def render_body(self):
      body = super().render_body()
      if self.kind == "type":
          return body
  
      notebook = EXAMPLES_DIR / f"{self.obj.name}.ipynb"
      if not notebook.exists():
          return body
  
      # path from the references directory where the qmd files
      # are placed
      relpath = Path("..") / notebook.relative_to(DOC_DIR)
      embed_notebook = shortcode("embed", f"{relpath}", echo="true")
      header = Header(self.level + 1, "Examples")
      return str(Blocks([body, header, embed_notebook]))
  
imports: from __future__ import annotations
  import re
  from pathlib import Path
  from textwrap import dedent
  from typing import TYPE_CHECKING
  from _renderers.numpydoc import NumpyDocRenderer
  from _renderers.render import RenderDoc, RenderDocClass, extend_base_class
  from _renderers.utils import InterLink, shortcode
  from quartodoc.pandoc.blocks import Blocks, CodeBlock, Div, Header
  from quartodoc.pandoc.components import Attr
  from quartodoc.pandoc.inlines import Inlines, Span
label_desc: Use image node_id 1 for calling the _RenderDoc obj's underlying member method code with example usage: obj.render_body() and returns: str, body, body