def METHOD_NAME(file: str, item: str) -> None:
    with mkdocs_gen_files.open(file, "a") as f_index:
        parts = item.split("/")
        part = parts[-1].replace(".md", "").capitalize()
        link = Path(os.path.relpath(item, Path(file).parent))
        f_index.write(f"* [{part}]({link})\n")