You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/content/rooms/fragments
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>
5 months ago
..
index.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v1-auth-rules.md Fix broken links 2 years ago
v1-canonical-json.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v1-deprecated-formatting-off-spec.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v1-event-ids.md Properly separate Room ID and Event ID grammars (#1484) 2 years ago
v1-redactions.md Add room version 11 (#1604) 1 year ago
v1-stringy-power-levels.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v2-state-res.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v3-auth-rules.md Fix the table of content for room versions (#1884) 5 months ago
v3-handling-redactions.md Fix the table of content for room versions (#1884) 5 months ago
v4-event-format.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v4-event-ids.md Fix the table of content for room versions (#1884) 5 months ago
v5-signing-requirements.md Remove `keyId` from the server keys endpoints (#1350) 2 years ago
v6-canonical-json.md Stop rendering CS modules and room version fragments as standalone pages (#1317) 2 years ago
v6-redactions.md Add room version 11 (#1604) 1 year ago
v8-auth-rules.md Fix the table of content for room versions (#1884) 5 months ago
v9-redactions.md Add room version 11 (#1604) 1 year ago
v11-event-format.md Add room version 11 (#1604) 1 year ago
v11-redactions.md Add room version 11 (#1604) 1 year ago