- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for relative_to (0.07 seconds)
-
scripts/docs.py
if rel_path in all_docs_content: # Walk up from the file's parent to find the package root # (a subdirectory under docs_src/<topic>/) parts = py_file.relative_to(docs_src_path).parts if len(parts) > 2: # File is inside a sub-package like docs_src/topic/app_xxx/... package_root = docs_src_path / parts[0] / parts[1]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:46:10 GMT 2026 - 25.4K bytes - Click Count (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:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 15.8K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePackageInfoDataTask.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 2.7K bytes - Click Count (0)