Add type
This commit is contained in:
parent
75cc5563c7
commit
d631dcaff2
@ -26,7 +26,7 @@ def replace_links(path: Path, replacements: Dict[str, str]):
|
|||||||
|
|
||||||
|
|
||||||
def main(path: Path):
|
def main(path: Path):
|
||||||
replacements = {}
|
replacements: Dict[str, str] = {}
|
||||||
for p in path.glob("**/*.html"):
|
for p in path.glob("**/*.html"):
|
||||||
if str(p.parent) == ".":
|
if str(p.parent) == ".":
|
||||||
# Don't convert top-level files.
|
# Don't convert top-level files.
|
||||||
|
Loading…
Reference in New Issue
Block a user