Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generate_en_path (0.06 sec)

  1. scripts/translate.py

            f"Path must be inside {en_docs_path}"
        )
        lang_docs_path = Path(f"docs/{lang}/docs")
        out_path = Path(str(path).replace(str(en_docs_path), str(lang_docs_path)))
        return out_path
    
    
    def generate_en_path(*, lang: str, path: Path) -> Path:
        en_docs_path = Path("docs/en/docs")
        assert not str(path).startswith(str(en_docs_path)), (
            f"Path must not be inside {en_docs_path}"
        )
    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