This commit is contained in:
Stavros Korokithakis 2021-11-20 18:10:12 +02:00
parent 75cc5563c7
commit d631dcaff2
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63

View File

@ -26,7 +26,7 @@ def replace_links(path: Path, replacements: Dict[str, str]):
def main(path: Path):
replacements = {}
replacements: Dict[str, str] = {}
for p in path.glob("**/*.html"):
if str(p.parent) == ".":
# Don't convert top-level files.