Make list of APIs on the index a table.
This commit is contained in:
parent
4b27d6a7a4
commit
5b18db9096
6 changed files with 50 additions and 9 deletions
|
@ -536,6 +536,31 @@ class MatrixUnits(Units):
|
|||
event_types[event_type] = table
|
||||
return event_types
|
||||
|
||||
def load_apis(self, substitutions):
|
||||
return {
|
||||
"rows": [{
|
||||
"key": "`Client-Server API <client_server.html>`_",
|
||||
"type": substitutions["%CLIENT_RELEASE_LABEL%"],
|
||||
"desc": "Interaction between clients and servers",
|
||||
}, {
|
||||
"key": "`Server-Server API <server_server.html>`_",
|
||||
"type": substitutions["%SERVER_RELEASE_LABEL%"],
|
||||
"desc": "Federation between servers",
|
||||
}, {
|
||||
"key": "`Application Service API <application_service.html>`_",
|
||||
"type": substitutions["%CLIENT_RELEASE_LABEL%"],
|
||||
"desc": "Privileged server plugins",
|
||||
}, {
|
||||
"key": "`Identity Service API <identity_service.html>`_",
|
||||
"type": "unstable",
|
||||
"desc": "Mapping of third party IDs with Matrix ID",
|
||||
}, {
|
||||
"key": "`Push Gateway API <push_gateway.html>`_",
|
||||
"type": "unstable",
|
||||
"desc": "Push notifications for Matrix events",
|
||||
}]
|
||||
}
|
||||
|
||||
def load_event_examples(self):
|
||||
path = EVENT_EXAMPLES
|
||||
examples = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue