class_docstr: Render documentation for an attribute (layout.DocAttribute)
class_docstr_tok: ["Render","documentation","for","an","attribute","(","layout.DocAttribute",")"]
docstr: The signature of a TypeAlias
docstr_tok: ["The","signature","of","a","TypeAlias"]
code: def render_type_signature(self) -> Block:
      """
      The signature of a TypeAlias
      """
      stmt = interlink_identifiers(self.obj)
      i, j = stmt.find(":"), stmt.find("=")
  
      if self.show_signature_name:
          if not self.show_signature_annotation and i < j:
              stmt = f"{stmt[:i]}{stmt[j:].strip()}"
      else:
          start = (self.show_signature_annotation and i) or j
          value = stmt[start + 1].strip()
  
      value = stmt[stmt.find("=") + 1 :].strip()
      return Div(
          Code(pretty_code(value)).html,
          Attr(classes=["doc-signature"]),
      )
  
file_path: plotnine/doc/_renderers/render/docattribute.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import TYPE_CHECKING
  from quartodoc.pandoc.blocks import Block, Div
  from quartodoc.pandoc.components import Attr
  from quartodoc.pandoc.inlines import Code
  from ..format import interlink_identifiers, pretty_code
  from .doc import RenderDoc
label_desc: Use image node_id 3 for calling the __RenderDocAttribute obj's underlying member method code with example usage: obj.render_type_signature() and returns: Div