- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for relative_to (0.05 sec)
-
scripts/docs.py
Add or update header permalinks in specific page of En docs. """ if not path.is_relative_to(en_docs_path / "docs"): raise RuntimeError(f"Path must be inside {en_docs_path}") rel_path = path.relative_to(en_docs_path / "docs") # Skip excluded sections if str(rel_path).startswith(non_translated_sections): return visible_text_extractor = VisibleTextExtractor() updated_lines = []Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 21 17:40:17 UTC 2025 - 16.9K bytes - Viewed (0) -
scripts/translate.py
continue yield path def iter_en_paths_to_translate() -> Iterable[Path]: en_docs_root = Path("docs/en/docs/") for path in iter_all_en_paths(): relpath = path.relative_to(en_docs_root) if not str(relpath).startswith(non_translated_sections): yield path @app.command() def translate_lang(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:05:53 UTC 2025 - 34.1K bytes - Viewed (0)