Rename the presence EDU files to be accurate to their types; Misc cleanup of titles
This commit is contained in:
parent
ebca4c7d86
commit
750d4f9fda
8 changed files with 7 additions and 8 deletions
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
type: object
|
type: object
|
||||||
title: Presence EDU
|
title: ``m.presence`` EDU
|
||||||
description: |-
|
description: |-
|
||||||
An EDU representing presence updates for users of the sending homeserver.
|
An EDU representing presence updates for users of the sending homeserver.
|
||||||
allOf:
|
allOf:
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
type: object
|
type: object
|
||||||
title: Presence Invite Accept EDU
|
title: ``m.presence_accept`` EDU
|
||||||
description: |-
|
description: |-
|
||||||
An EDU representing approval for the observing user to subscribe to the
|
An EDU representing approval for the observing user to subscribe to the
|
||||||
presence of the the observed user.
|
presence of the the observed user.
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
type: object
|
type: object
|
||||||
title: Presence Invite Deny EDU
|
title: ``m.presence_deny`` EDU
|
||||||
description: |-
|
description: |-
|
||||||
An EDU representing a declination or revocation for the observing user
|
An EDU representing a declination or revocation for the observing user
|
||||||
to subscribe to the presence of the observed user.
|
to subscribe to the presence of the observed user.
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
type: object
|
type: object
|
||||||
title: Presence Invite EDU
|
title: ``m.presence_invite`` EDU
|
||||||
description: |-
|
description: |-
|
||||||
An EDU representing a request to subscribe to a user's presence.
|
An EDU representing a request to subscribe to a user's presence.
|
||||||
allOf:
|
allOf:
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
type: object
|
type: object
|
||||||
title: Receipt EDU
|
title: ``m.receipt`` EDU
|
||||||
description: |-
|
description: |-
|
||||||
An EDU representing receipt updates for users of the sending homeserver.
|
An EDU representing receipt updates for users of the sending homeserver.
|
||||||
When receiving receipts, the server should only update entries that are
|
When receiving receipts, the server should only update entries that are
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
type: object
|
type: object
|
||||||
title: Typing Notification EDU
|
title: ``m.typing`` EDU
|
||||||
description: A typing notification EDU for a user in a room.
|
description: A typing notification EDU for a user in a room.
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: ../edu.yaml
|
- $ref: ../edu.yaml
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% import 'tables.tmpl' as tables -%}
|
{% import 'tables.tmpl' as tables -%}
|
||||||
|
|
||||||
``{{definition.title}}`` Schema
|
``{{definition.title}}`` schema
|
||||||
{{(11 + definition.title | length) * title_kind}}
|
{{(11 + definition.title | length) * title_kind}}
|
||||||
|
|
||||||
{% if 'description' in definition %}
|
{% 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/identity/definitions"): "is",
|
||||||
os.path.join(matrix_doc_dir, "api/push-gateway/definitions"): "push",
|
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"): "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_EXAMPLES = os.path.join(matrix_doc_dir, "event-schemas/examples")
|
||||||
EVENT_SCHEMA = os.path.join(matrix_doc_dir, "event-schemas/schema")
|
EVENT_SCHEMA = os.path.join(matrix_doc_dir, "event-schemas/schema")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue