code: def _obtain_doc(py_file):
      """Extract the doc() definition from index.py file"""
      with open(py_file, "r") as f:
          doc_file = f.read()
          exec(doc_file)
          return doc_return_value
  
file_path: DALI/docs/doc_index.py
imports: from pathlib import Path
label_desc: Use image node_id 5 for calling a global function with example usage: _obtain_doc(py_file) and returns: doc_return_value