Fixes mermaid diagrams not rendering on self-hosted docs

What does this MR do and why?

Adds a new JS route to fix a bug where self-hosted docs would not render mermaid diagrams.

References

Screenshots or screen recordings

Before After
Screenshot_2025-10-03_at_09.58.37 Screenshot_2025-10-03_at_09.58.47

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Phil Hughes

Merge request reports

Loading