Stop rendering CS modules and room version fragments as standalone pages (#1317)

This is actually doing two things:

 * creating `{fragments,modules}/index.md` turns the fragments and modules into
   page resources, rather than pages in their own right. We have to update the
   shortcodes to match.

 * adding `headless: true` means that we don't render the pages.

The net effect is that we don't render pages like
https://spec.matrix.org/v1.4/rooms/fragments/v1-auth-rules/ and
https://spec.matrix.org/v1.4/client-server-api/modules/account_data/.
This commit is contained in:
Richard van der Hoff 2022-11-08 17:27:44 +00:00 committed by GitHub
parent 1945589acf
commit b07fe504ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 21 additions and 165 deletions

View file

@ -0,0 +1,3 @@
---
headless: true
---

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
The types of state events that affect authorization are:

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Servers MUST NOT strictly enforce the JSON format specified in the
[appendices](/appendices#canonical-json) for the reasons

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Events sent into rooms of this version can have formats which are different
from their normal schema. Those cases are documented here.

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Upon receipt of a redaction event, the server must strip off any keys
not in the following list:

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
##### `m.room.power_levels` events accept values as strings

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
The room state *S(E)* after an event *E* is defined in terms of the
room state *S(E)* before *E*, and depends on whether *E* is a state

View file

@ -1,7 +1,5 @@
---
toc_hide: true
---
{{< added-in this=true >}} In room versions 1 and 2, events need a
signature from the domain of the `event_id` in order to be considered
valid. This room version does not include an `event_id` over federation

View file

@ -1,7 +1,5 @@
---
toc_hide: true
---
{{% added-in this=true %}} In room versions 1 and 2, redactions were
explicitly part of the [authorization rules](/rooms/v1/#authorization-rules)
under Rule 11. As of room version 3, these conditions no longer exist as

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Events in rooms of this version have the following structure:

View file

@ -1,7 +1,5 @@
---
toc_hide: true
---
{{% added-in this=true %}} The event ID is the [reference
hash](/server-server-api#calculating-the-reference-hash-for-an-event) of
the event encoded using a variation of [Unpadded

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
When validating event signatures, servers MUST enforce the
`valid_until_ts` property from a key request is at least as large as the

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Servers MUST strictly enforce the JSON format specified in the
[appendices](/appendices#canonical-json). This translates to a

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Upon receipt of a redaction event, the server must strip off any keys
not in the following list:

View file

@ -1,6 +1,3 @@
---
toc_hide: true
---
Events must be signed by the server denoted by the `sender` property.

View file

@ -1,5 +1,4 @@
---
toc_hide: true
---
{{% added-in this=true %}} `m.room.member` events now keep `join_authorised_via_users_server`