Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Compute the relative path prefix to reach the site root from a canonical path. For example, news/2026-04-23/props-en.html โ†’ ../../.

      Parameters

      • canonicalPath: string

      Returns string