1
0
mirror of https://github.com/google/fonts.git synced 2024-11-30 18:52:46 +03:00

Update knowledge_graph.py (#4928)

This commit is contained in:
Nathan Williams 2022-07-12 14:51:44 -07:00 committed by GitHub
parent 8b5f997698
commit 31cc9467a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ def _topics_target_to_path(_: Set[str], target: str) -> str:
def _module_target_to_path(_: Set[str], target: str) -> str:
return Path(target) / "module.textproto"
return Path(target.replace("/module/", "modules/")) / "module.textproto"
def _content_md(path: str) -> Path: