def METHOD_NAME(rustdoc, relative_to_md):
    """Get generated rustdoc html index files."""
    docs = {}
    for path in rustdoc.iterdir():
        if path.is_dir():
            if (path / "index.html").exists():
                docs[path.name] = relative_to_md / path.name / "index.html"
    return docs