ux improvements

This commit is contained in:
2026-02-21 23:08:42 -05:00
parent 173e09059d
commit caa67206fa
5 changed files with 181 additions and 74 deletions

View File

@@ -128,7 +128,9 @@ def build_markdown(base_dir: Path, files: list[str], screenshot_base_dir: Path,
return "\n\n---\n\n".join(parts)
def run(config: dict) -> tuple[str, Path]:
namespace = config["output"]["namespace"]
namespace = config.get("project", {}).get("name")
if not namespace:
namespace = config.get("output", {}).get("namespace", "project")
output_dir = Path(config["output"]["output_dir"])
base_dir = Path(config["files"]["base_dir"])
files = config["files"].get("paths", [])