code: def expand_links():
      readme = _get_root() / "README.md"
      assert readme.exists()
  
      desc = readme.read_text(encoding="utf-8")
      desc = re.sub(MarkdownLink.regex, _replace_relative_links, desc)
      readme.write_text(desc)
  
file_path: submitit/submitit/test_documentation.py
imports: import re
  import typing
  from pathlib import Path
  import submitit
label_desc: Use image node_id 6 for calling a global function with example usage: expand_links() without return types