The Matrix protocol specification
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Daniel Wagner-Hall 559747e77a speculator: Sent Content-Type: text/html header
Go is auto-detecting that this is XML (because for some reason we
generate XHTML), and serving it with a Content-Type header text/xml.

This causes the browser to render it as XHTML, which gives interesting
quirks like extra newlines.

This forces the browser to interpret it as HTML.

What we should probably do instead of stop generating XHTML and start
generating HTML. But in the mean time, this will fix the rendering
issues.
9 years ago
api Update 3pid spec based on new implementation 9 years ago
attic Add v1 registration / login stuff into attic dir 10 years ago
drafts Merge pull request #26 from matrix-org/macaroons 9 years ago
event-schemas Update 3pid spec based on new implementation 9 years ago
meta Update doc style 10 years ago
scripts speculator: Sent Content-Type: text/html header 9 years ago
specification Update 3pid spec based on new implementation 9 years ago
supporting-docs typos and fixes 9 years ago
templating Merge branch 'master' of github.com:matrix-org/matrix-doc 9 years ago
.gitignore .gitignore speculator 9 years ago
CHANGELOG.rst Go into a bit more detail about feature profiles 9 years ago
README.rst alas clarify the room link 10 years ago
jenkins.sh If build.py throws, actually print stdout. Also run jenkins.sh in verbose mode. 9 years ago

README.rst

This repository contains the documentation for Matrix.

Structure
=========

- ``api`` : Contains the HTTP API specification.
- ``drafts`` : Contains documents which will make it into the specification
  and/or supporting documentation at some point in the future.
- ``event-schemas`` : Contains the `JSON Schema`_ for all Matrix events
  contained in the specification, along with example JSON files.
- ``meta`` : Contains documents outlining the processes involved when writing
  documents, e.g. documentation style, guidelines.
- ``scripts`` : Contains scripts to generate formatted versions of the
  documentation, typically HTML.
- ``specification`` : Contains the specification split up into sections.
- ``supporting-docs`` : Contains additional documents which explain design 
  decisions, examples, use cases, etc.
- ``templating`` : Contains the templates and templating system used to
  generate the spec.

Contributing
============

Known issues with the specification are represented as JIRA issues at
https://matrix.org/jira/browse/SPEC

If you want to ask more about the specification, or have suggestions for
improvements, join us on ``#matrix-dev:matrix.org`` via https://matrix.org/beta.

.. _JSON Schema: http://json-schema.org/