$ErrorActionPreference = "Stop" $Root = Split-Path -Parent (Split-Path -Parent $MyInvocation.MyCommand.Path) $env:PYTHONPATH = "$Root/src" + $(if ($env:PYTHONPATH) { ";$env:PYTHONPATH" } else { "" }) $Out = "$Root/examples/output/retry-policy-demo" if (Test-Path $Out) { Remove-Item -Recurse -Force $Out } python -m claridoc run ` --brief "$Root/examples/briefs/retry-policy-blog.json" ` --sources "$Root/examples/sources/retry-policy-sources.json" ` --config "$Root/config/pipeline.mock.json" ` --output $Out