EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Build a translated Reader Intelligence Guide as an HTML section. Emits exactly one component with data-component="reader-intelligence-guide" for de-duplication detection by E2E tests.

      The guide renders one row per emitted article section that has a curated reader-need translation (see READER_GUIDE_ROWS). The included list is no longer surfaced — the previous "source artifact" column duplicated the per-section navigation that the Analysis Index appendix already presents, and clutters the headline reader lens. The parameter is kept on the signature for backward compatibility with callers that may pre-compute the run manifest.

      Parameters

      • lang: LanguageCode

        Target language code

      • sections: readonly TocSection[]

        Emitted section TOC entries, in document order

      • _included: readonly IncludedArtifact[] = []

        (Unused) Included artifacts; kept for API stability

      Returns string

      HTML fragment for the guide, or empty string if no rows match