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). |
||
|---|---|---|
| .. | ||
| _markup | ||
| _partials | ||
| _shortcodes | ||
| docs | ||
| 404.html | ||
| content.html | ||