code: def _parse_entry(entry):
      """Wrap in DocEntry object if it the entry was just a string"""
      if isinstance(entry, str):
          return doc_entry(entry)
      else:
          return entry
  
file_path: DALI/docs/doc_index.py
imports: from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: _parse_entry(entry) and returns: doc_entry, entry