EU Parliament Monitor - API Documentation - v0.7.1
    Preparing search index...

    Function generateSitemapHTML

    • Generate a sitemap HTML page for a specific language. Lists all articles for that language with titles and descriptions, plus a high-level documentation section.

      Parameters

      • lang: string

        Language code

      • articleInfos: SitemapArticleInfo[]

        Article info (title/description) for this language

      • hasDocsDir: boolean = false

        Whether the docs directory exists

      Returns string

      Complete HTML document string