Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for iter_all_en_paths (0.05 sec)

  1. scripts/translate.py

        result = agent.run_sync(prompt)
        out_content = f"{result.output.strip()}\n"
        print(f"Saving translation to {out_path}")
        out_path.write_text(out_content, encoding="utf-8", newline="\n")
    
    
    def iter_all_en_paths() -> Iterable[Path]:
        """
        Iterate on the markdown files to translate in order of priority.
        """
        first_dirs = [
            Path("docs/en/docs/learn"),
            Path("docs/en/docs/tutorial"),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top