From 772ba8dc2af8c9236aa2947603ae270c78f99c9b Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 6 Feb 2019 22:26:41 -0700 Subject: [PATCH] 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. --- specification/rooms/v1.rst | 3 +++ specification/rooms/v2.rst | 3 +++ specification/rooms/v3.rst | 3 +++ 3 files changed, 9 insertions(+) diff --git a/specification/rooms/v1.rst b/specification/rooms/v1.rst index f5013194..1c7a56c4 100644 --- a/specification/rooms/v1.rst +++ b/specification/rooms/v1.rst @@ -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 -------------------------------- diff --git a/specification/rooms/v2.rst b/specification/rooms/v2.rst index 7ad7668c..b262f47f 100644 --- a/specification/rooms/v2.rst +++ b/specification/rooms/v2.rst @@ -18,6 +18,9 @@ Room Version 2 This room version builds off of `version 1 `_ with an improved state resolution algorithm. +.. contents:: Table of Contents +.. sectnum:: + Server implementation components -------------------------------- diff --git a/specification/rooms/v3.rst b/specification/rooms/v3.rst index 0915d196..863f1c3a 100644 --- a/specification/rooms/v3.rst +++ b/specification/rooms/v3.rst @@ -24,6 +24,9 @@ This room version builds on `version 2 `_ 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 ---------------------