Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for relPath (0.03 sec)

  1. scripts/translate.py

            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)
  2. scripts/docs.py

        """
    
        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 = []
        in_code_block3 = False
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
Back to top