matrix-spec/layouts/_partials
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
..
events Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
footer Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
hooks Add version picker in the navbar (#2256) 2025-12-04 12:24:28 +00:00
json-schema Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
openapi Fix duplicate modules endpoints 2025-12-10 20:34:16 +00:00
added-in.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
alert.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
breadcrumb.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
changed-in.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
endpoints-toc.html Fix duplicate modules endpoints 2025-12-10 20:34:16 +00:00
favicons.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
head-css.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
navbar-version-selector.html Add version picker in the navbar (#2256) 2025-12-04 12:24:28 +00:00
navbar.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
render-example.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
sidebar-tree.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
spec-content.html Move each spec's intro above the endpoints list 2025-12-05 15:47:08 +00:00
toc.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00
version-banner.html Upgrade docsy to 0.12.0 (#2160) 2025-08-27 07:35:57 +01:00