<commit_before>Matrix Specification
====================

.. Note that this file is specifically unversioned because we don't want to
.. have to add Yet Another version number, and the commentary on what specs we
.. have should hopefully not get complex enough that we need to worry about
.. versioning it.

This specification has been generated from
https://github.com/matrix-org/matrix-doc using
https://github.com/matrix-org/matrix-doc/blob/master/scripts/gendoc.py as of
revision ``{{git_version}}`` -
https://github.com/matrix-org/matrix-doc/tree/{{git_rev}}.

The following APIs are documented in this specification:

- `Client-Server API <client_server.html>`_ version %CLIENT_RELEASE_LABEL% for writing Matrix clients.
- `Server-Server API <server_server.html>`_ version %SERVER_RELEASE_LABEL% for writing servers which can federate with Matrix.
- `Application Service API <application_service.html>`_ version %CLIENT_RELEASE_LABEL% for writing privileged plugins to servers.

There is also an `introduction with overview <intro.html>`_, and some `appendices <appendices.html>`_.

Any developments since the latest release can be found `here`__.

.. __: https://matrix.org/speculator/spec/head/

Before we formally started releasing the specification, the last working copy
we had can be found `here`__.

.. __: https://matrix.org/docs/spec/legacy/<commit_msg>Add links to old releases<commit_after>Matrix Specification
====================

.. Note that this file is specifically unversioned because we don't want to
.. have to add Yet Another version number, and the commentary on what specs we
.. have should hopefully not get complex enough that we need to worry about
.. versioning it.

This specification has been generated from
https://github.com/matrix-org/matrix-doc using
https://github.com/matrix-org/matrix-doc/blob/master/scripts/gendoc.py as of
revision ``{{git_version}}`` -
https://github.com/matrix-org/matrix-doc/tree/{{git_rev}}.

The following APIs are documented in this specification:

- `Client-Server API <client_server.html>`_ version %CLIENT_RELEASE_LABEL% for writing Matrix clients.
- `Server-Server API <server_server.html>`_ version %SERVER_RELEASE_LABEL% for writing servers which can federate with Matrix.
- `Application Service API <application_service.html>`_ version %CLIENT_RELEASE_LABEL% for writing privileged plugins to servers.

There is also an `introduction with overview <intro.html>`_, and some `appendices <appendices.html>`_.

Any developments since the latest release can be found `here`__.

.. __: https://matrix.org/speculator/spec/head/

Old releases of the spec:

- Client-Server API: `r0.0.0`__

.. __: https://matrix.org/docs/spec/r0.0.0

Before we formally started releasing the specification, the last working copy
we had can be found `here`__.

.. __: https://matrix.org/docs/spec/legacy/
{'fraction_non_alphanumeric': 0.11220196353436185, 'fraction_numerical': 0.0021037868162692847, 'mean_word_length': 4.683266932270916, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1967970', 'n_tokens_mistral': 807, 'n_tokens_neox': 776, 'n_words': 292}