From 990cc1b17d0ec8c6064d061595ff5c710bc191dd Mon Sep 17 00:00:00 2001 From: Glenn Hutchings Date: Sun, 3 Apr 2016 10:55:09 +0100 Subject: [PATCH] Auto-number the chapter sections. --- chapters/01.rst | 6 +++--- chapters/02.rst | 6 +++--- index.rst | 7 ++++++- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/chapters/01.rst b/chapters/01.rst index 958000f..407c5c6 100644 --- a/chapters/01.rst +++ b/chapters/01.rst @@ -1,6 +1,6 @@ -====================================== - 1: Just what is interactive fiction? -====================================== +=================================== + Just what is interactive fiction? +=================================== .. highlight:: transcript diff --git a/chapters/02.rst b/chapters/02.rst index a7c0ef8..4698aee 100644 --- a/chapters/02.rst +++ b/chapters/02.rst @@ -1,6 +1,6 @@ -======================= - 2: Tools of the trade -======================= +==================== + Tools of the trade +==================== .. epigraph:: diff --git a/index.rst b/index.rst index b89b129..5dcfe67 100644 --- a/index.rst +++ b/index.rst @@ -6,12 +6,17 @@ Contents: .. toctree:: :maxdepth: 2 - :glob: copyright history foreword about + +.. toctree:: + :maxdepth: 2 + :glob: + :numbered: + chapters/* Indices: -- 2.31.1