CLI entry that orchestrates every sitemap output:
sitemap.xml, rss.xml, the 14 sitemap_<lang>.html pages, and the
14 political-intelligence_<lang>.html pages.
The actual implementation lives in src/generators/sitemap/ —
xml-utils, rss, xml, html, copy. This file is the single
executable shipped under scripts/generators/sitemap.js, invoked by
npm run prebuild and the deploy/release/e2e workflows.
Re-exports preserved for back-compat: existing call sites that
import generateSitemap, generateSitemapHTML, generateRssFeed,
getSitemapFilename, RssItem, or collectDocsHtmlFiles from this
module keep resolving. New code should import directly from
./sitemap/index.js (the barrel) or from a specific sub-module for
the tightest dependency surface.
Description
CLI entry that orchestrates every sitemap output:
sitemap.xml,rss.xml, the 14sitemap_<lang>.htmlpages, and the 14political-intelligence_<lang>.htmlpages.The actual implementation lives in
src/generators/sitemap/—xml-utils,rss,xml,html,copy. This file is the single executable shipped underscripts/generators/sitemap.js, invoked bynpm run prebuildand the deploy/release/e2e workflows.Re-exports preserved for back-compat: existing call sites that import
generateSitemap,generateSitemapHTML,generateRssFeed,getSitemapFilename,RssItem, orcollectDocsHtmlFilesfrom this module keep resolving. New code should import directly from./sitemap/index.js(the barrel) or from a specific sub-module for the tightest dependency surface.