EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...

    Module Generators/Sitemap

    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.

    Functions

    collectDocsHtmlFiles → collectDocsHtmlFiles
    generateRssFeed → generateRssFeed
    generateSitemap → generateSitemap
    generateSitemapHTML → generateSitemapHTML
    getSitemapFilename → getSitemapFilename

    Interfaces

    RssItem → RssItem
    SitemapArticleInfo → SitemapArticleInfo