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

    Module Generators/PoliticalIntelligence

    Generates the localized political-intelligence_<lang>.html pages — a curated index of every political-intelligence methodology, artifact template, and daily analysis run shipped in this repository.

    Each page links to the matching Markdown source on GitHub so that readers can inspect the raw tradecraft behind every published article. The English variant lives at political-intelligence.html; all 13 other locales live at political-intelligence_<lang>.html.

    This file is now a thin re-export shim. The implementation has been carved into focused sub-modules under ./political-intelligence/:

    • ./political-intelligence/types — type-only contracts
    • ./political-intelligence/iconspickDocumentIcon, pickRunIcon
    • ./political-intelligence/markdown — Markdown parsing helpers
    • ./political-intelligence/copyPICopy, DEFAULT_COPY, PI_COPY, getPICopy (14 langs)
    • ./political-intelligence/datacollectPoliticalIntelligenceData and helpers
    • ./political-intelligence/htmlgeneratePoliticalIntelligenceHTML, getPoliticalIntelligenceFilename

    Every public symbol is re-exported below so existing import sites (from './generators/political-intelligence.js') continue to resolve without churn.

    Functions

    pickDocumentIcon → pickDocumentIcon
    pickRunIcon → pickRunIcon
    parseMarkdownMeta → parseMarkdownMeta
    collectPoliticalIntelligenceData → collectPoliticalIntelligenceData
    generatePoliticalIntelligenceHTML → generatePoliticalIntelligenceHTML
    getPoliticalIntelligenceFilename → getPoliticalIntelligenceFilename

    Interfaces

    PIDocument → PIDocument
    PIDailyDateGroup → PIDailyDateGroup
    PIDailyRun → PIDailyRun
    PIDailyArtifact → PIDailyArtifact
    PIPageData → PIPageData