matrix-spec/layouts
Andrew Morgan f30e850bf1 Fix duplicate modules endpoints
I was seeing duplicate endpoints appearing under each module (typically
2 of each). This turned out to be due to the `render-operation` partial
being called multiple times (once when rendering the page, and another
when rendering the left-hand-side TOC).

We now check whether the endpoint has already been added to the list
before insertion, via a "seen" map (for quick lookup).
2025-12-10 20:34:16 +00:00
..
_markup Include Olm & Megolm specifications in main spec (#2226) 2025-10-31 10:33:32 +00:00
_partials Fix duplicate modules endpoints 2025-12-10 20:34:16 +00:00
_shortcodes Group endpoints by module 2025-12-05 19:06:44 +00:00
docs Place the endpoints list just under the description of each API 2025-12-05 15:46:16 +00:00
404.html Fix relative URLs when serving the specification with a custom baseURL (#1984) 2024-11-14 11:11:34 +00:00
content.html Place the endpoints list just under the description of each API 2025-12-05 15:46:16 +00:00