Add a table of contents to each room version spec

Fixes https://github.com/matrix-org/matrix-doc/issues/1852

We get clickable headers for free by doing this.
This commit is contained in:
Travis Ralston 2019-02-06 22:26:41 -07:00
parent 681a4f0387
commit 772ba8dc2a
3 changed files with 9 additions and 0 deletions

View file

@ -18,6 +18,9 @@ Room Version 1
This room version is the first ever version for rooms, and contains the building
blocks for other room versions.
.. contents:: Table of Contents
.. sectnum::
Server implementation components
--------------------------------

View file

@ -18,6 +18,9 @@ Room Version 2
This room version builds off of `version 1 <v1.html>`_ with an improved state
resolution algorithm.
.. contents:: Table of Contents
.. sectnum::
Server implementation components
--------------------------------

View file

@ -24,6 +24,9 @@ This room version builds on `version 2 <v2.html>`_ with an improved event format
where the contextual room of the request is using this room version. Rooms using
other room versions should not be affected by these sweeping requirements.
.. contents:: Table of Contents
.. sectnum::
Client considerations
---------------------