attempt to use separate folder for docs and meetings

This commit is contained in:
Mariano Gabriel
2026-07-06 01:18:17 -03:00
parent bb84558526
commit 31ad8e5928
10 changed files with 261 additions and 62 deletions

View File

@@ -23,6 +23,9 @@ def main() -> int:
parser.add_argument("source", help="Local drive-download root to index")
parser.add_argument("--output", default="docs-output",
help="Output directory for index.json + sidecars (default: docs-output)")
parser.add_argument("--only", choices=["all", "docs", "meetings"], default="all",
help="Scope the collection: 'docs' skips meetings (no bloat), "
"'meetings' indexes only videos (co-locate with .meetus). Default: all")
parser.add_argument("--render", action="store_true",
help="Render page/slide images where supported (needs extra deps)")
parser.add_argument("--ocr", action="store_true",
@@ -41,6 +44,7 @@ def main() -> int:
args.output,
options={"render": args.render, "ocr": args.ocr},
dry_run=args.dry_run,
only=args.only,
)
except NotADirectoryError as e:
print(f"ERROR: {e}", file=sys.stderr)