matrix-spec/changelogs/room_versions/newsfragments
Kévin Commaille 3af77f0cb4
Fix the table of content for room versions (#1884)
* Fix ToC for room versions pages

Like for the cs-module shortcode, use .RenderShortcodes
instead of .Content for the rver-fragment shortcode,
so the headings are detected by Hugo.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Change the way "this version" is detected in added-in and changed-in shortcodes

Now that we use .RenderShortcodes in the rver-fragment shortcode,
we cannot remove the output of these shortcodes dynamically
because they are replaced by a temporary placeholder due to Hugo's internals.

Instead, since the `this` parameter was only used for room version,
we always use the `v` parameter and compare with the version
provided in the page's front matter.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add changelog

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add version front matter for v11

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Update changelogs/room_versions/newsfragments/1884.clarification

---------

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Co-authored-by: Travis Ralston <travpc@gmail.com>
2024-06-20 15:47:09 +00:00
..
.gitignore Add a changelog directory for room versions (#3504) 2021-11-19 11:00:37 +00:00
1824.clarification Clarify that redaction events are subject to auth rules (#1824) 2024-05-29 09:42:19 +01:00
1827.clarification Normalize the changelog for Matrix 1.11 2024-06-19 21:52:21 -06:00
1848.clarification Remove extra preposition in room version 11 description of redactions (#1848) 2024-06-07 12:13:32 -04:00
1883.clarification Fix the rendering of the event format for room versions 1 and 2 (#1883) 2024-06-20 09:39:44 -06:00
1884.clarification Fix the table of content for room versions (#1884) 2024-06-20 15:47:09 +00:00