Respects dryRun and skipExisting flags: returns null without writing
in either case.
File-level deduplication is intentionally NOT applied here. Instead, the
pipeline computes a run-level suffix from the deduplicated analysis
directory (e.g. "breaking-2") and bakes it into the article slug
before HTML generation, keeping filenames, canonical URLs, og:url,
and language-switcher links all consistent.
Write a single HTML file to the news directory.
Respects
dryRunandskipExistingflags: returnsnullwithout writing in either case.File-level deduplication is intentionally NOT applied here. Instead, the pipeline computes a run-level suffix from the deduplicated analysis directory (e.g.
"breaking-2") and bakes it into the article slug before HTML generation, keeping filenames, canonical URLs, og:url, and language-switcher links all consistent.