mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 19:38:37 +01:00
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). |
||
|---|---|---|
| .. | ||
| events | ||
| footer | ||
| hooks | ||
| json-schema | ||
| openapi | ||
| added-in.html | ||
| alert.html | ||
| breadcrumb.html | ||
| changed-in.html | ||
| endpoints-toc.html | ||
| favicons.html | ||
| head-css.html | ||
| navbar-version-selector.html | ||
| navbar.html | ||
| render-example.html | ||
| sidebar-tree.html | ||
| spec-content.html | ||
| toc.html | ||
| version-banner.html | ||