Rename the presence EDU files to be accurate to their types; Misc cleanup of titles

pull/977/head
Travis Ralston 6 years ago
parent ebca4c7d86
commit 750d4f9fda

@ -13,7 +13,7 @@
# limitations under the License.
type: object
title: Presence EDU
title: ``m.presence`` EDU
description: |-
An EDU representing presence updates for users of the sending homeserver.
allOf:

@ -13,7 +13,7 @@
# limitations under the License.
type: object
title: Presence Invite Accept EDU
title: ``m.presence_accept`` EDU
description: |-
An EDU representing approval for the observing user to subscribe to the
presence of the the observed user.

@ -13,7 +13,7 @@
# limitations under the License.
type: object
title: Presence Invite Deny EDU
title: ``m.presence_deny`` EDU
description: |-
An EDU representing a declination or revocation for the observing user
to subscribe to the presence of the observed user.

@ -13,7 +13,7 @@
# limitations under the License.
type: object
title: Presence Invite EDU
title: ``m.presence_invite`` EDU
description: |-
An EDU representing a request to subscribe to a user's presence.
allOf:

@ -13,7 +13,7 @@
# limitations under the License.
type: object
title: Receipt EDU
title: ``m.receipt`` EDU
description: |-
An EDU representing receipt updates for users of the sending homeserver.
When receiving receipts, the server should only update entries that are

@ -13,7 +13,7 @@
# limitations under the License.
type: object
title: Typing Notification EDU
title: ``m.typing`` EDU
description: A typing notification EDU for a user in a room.
allOf:
- $ref: ../edu.yaml

@ -1,6 +1,6 @@
{% import 'tables.tmpl' as tables -%}
``{{definition.title}}`` Schema
``{{definition.title}}`` schema
{{(11 + definition.title | length) * title_kind}}
{% if 'description' in definition %}

@ -49,7 +49,6 @@ SWAGGER_DEFINITIONS = {
os.path.join(matrix_doc_dir, "api/identity/definitions"): "is",
os.path.join(matrix_doc_dir, "api/push-gateway/definitions"): "push",
os.path.join(matrix_doc_dir, "api/server-server/definitions"): "ss",
os.path.join(matrix_doc_dir, "api/server-server/definitions/presence"): "ss_presence",
}
EVENT_EXAMPLES = os.path.join(matrix_doc_dir, "event-schemas/examples")
EVENT_SCHEMA = os.path.join(matrix_doc_dir, "event-schemas/schema")

Loading…
Cancel
Save