code: def mkDocs(typeList):
      typeNames = sorted([typ.__name__ for typ in typeList])
      typDocs = [
          f"""\
      .. autoclass:: {name}
         :members:
      """
          for name in typeNames
      ]
      indented = "\n".join(typDocs)
      # There will be two newlines at the end, so remove one
      return textwrap.dedent(indented)[:-1]
  
label_desc: Use image node_id 1 for calling a global function with example usage: mkDocs(typeList) and returns: textwrap