feat: complete catalog-driven preprocessing
Publish documentation / publish (push) Successful in 2m12s
Publish documentation / publish (push) Successful in 2m12s
This commit is contained in:
@@ -19,6 +19,8 @@ def _leaf_paths(command, prefix: tuple[str, ...] = ()) -> set[str]:
|
||||
return {" ".join(prefix)} if prefix else set()
|
||||
paths: set[str] = set()
|
||||
for name, child in children.items():
|
||||
if getattr(child, "hidden", False):
|
||||
continue
|
||||
paths.update(_leaf_paths(child, prefix + (name,)))
|
||||
return paths
|
||||
|
||||
|
||||
Reference in New Issue
Block a user