feat: storing languages

This commit is contained in:
Hazel 2025-04-10 16:28:55 +02:00
parent 948f3ca0ab
commit e84828092c

View File

@ -96,6 +96,7 @@ def walk_directory(root):
if current_name.endswith(".md"): if current_name.endswith(".md"):
convert_md(current_src, current_dst) convert_md(current_src, current_dst)
language_codes_found.append(current_name.replace(".md", "")) language_codes_found.append(current_name.replace(".md", ""))
continue
if current_src.is_dir(): if current_src.is_dir():
walk_directory(Path(root, current_full_path.name)) walk_directory(Path(root, current_full_path.name))