MCPcopy Create free account
hub / github.com/crisxuan/bestJavaer / main

Function main

scripts/generate_english_main_docs.py:115–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114
115def main() -> None:
116 article_map = json.loads(ARTICLE_MAP_PATH.read_text(encoding="utf-8"))
117 for source_rel, target_rel in DOCS:
118 source_path = ROOT / source_rel
119 target_path = ROOT / target_rel
120 target_path.parent.mkdir(parents=True, exist_ok=True)
121 text = translate_doc(source_path.read_text(encoding="utf-8"), target_path, article_map)
122 target_path.write_text(text, encoding="utf-8")
123 print(f"{source_rel} -> {target_rel}")
124
125
126if __name__ == "__main__":

Callers 1

Calls 1

translate_docFunction · 0.85

Tested by

no test coverage detected