From 057f80817413affbe313cc791442dd9adbd4e3f3 Mon Sep 17 00:00:00 2001 From: gryf Date: Fri, 17 May 2019 20:12:52 +0200 Subject: [PATCH] Tweak the docs - TOC look and feel --- docs/index.rst | 5 ++++- docs/wmaker_i18n.rst | 2 ++ docs/wmaker_install.rst | 2 ++ style.css | 5 +++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index b26976a..8d2668c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -23,15 +23,18 @@ novice users to overlook this information, leading them to frustration and a bad first impression. Please take a moment to peruse the sections below, which should make the experience of learning Window Maker a more pleasant one. +.. class:: contents + - `Installation Basics `_ - `Window Maker Compilation and Installation `_ - `Window Maker Internationalisation `_ - `Guided Tour `_ - `User Guide `_ -- `Desktop/X Integration `_ - `FAQ `_ - `WINGs `_ +.. - `Desktop/X Integration `_ + Very frequently asked question ------------------------------ diff --git a/docs/wmaker_i18n.rst b/docs/wmaker_i18n.rst index 6047b2d..3f38725 100644 --- a/docs/wmaker_i18n.rst +++ b/docs/wmaker_i18n.rst @@ -9,7 +9,9 @@ Window Maker Internationalisation A guide to enable support for language translations in WINDOW MAKER and to the contributors who want to help translating. +.. sectnum:: .. contents:: Table of Contents + :backlinks: none This manual is for Window Maker, version git#next. diff --git a/docs/wmaker_install.rst b/docs/wmaker_install.rst index 5a8f5b3..ad7e04d 100644 --- a/docs/wmaker_install.rst +++ b/docs/wmaker_install.rst @@ -10,7 +10,9 @@ Window Maker Compilation and Installation A guide to configure, compile and install WINDOW MAKER from sources. +.. sectnum:: .. contents:: Table of Contents + :backlinks: none This manual is for Window Maker, version git#next. diff --git a/style.css b/style.css index a25790c..74a63c7 100644 --- a/style.css +++ b/style.css @@ -204,6 +204,11 @@ header h1 a span.first {color: black} border-right: 1px solid #555555; } +/* TOC */ +.contents p { + margin: 0.2em; +} + /* pre/code highlighted theme - taken from wombat256grf vim colorscheme */ .highlight { background-color: #242424 } .highlight .c { color: #99968b; font-style: italic} /* Comment */