code: def readme(root_path):
      """Returns the text content of the README.rst of the package
  
      Parameters
      ----------
      root_path : pathlib.Path
          path to the root of the package
      """
      with root_path.joinpath("README.rst").open(encoding="UTF-8") as f:
          return f.read()
  
imports: import re
  from pathlib import Path
label_desc: Use image node_id 2 for calling a global function with example usage: readme(root_path) and returns: f