From 33ae55c3cdfe78de2e5c9e53c95eb35cc6f3e068 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 17 Oct 2019 03:50:23 +0300 Subject: Documentation: Generate local TOC on demand All pages are generated with a local TOC, which is pointless on simple pages such as the front page, or other pages containing little content. Use the .. contents:: :local: directive instead to generate the local TOC on demand, and remove the automatic local TOC generation. Only the Docs page uses a local TOC. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- Documentation/docs.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Documentation/docs.rst') diff --git a/Documentation/docs.rst b/Documentation/docs.rst index 7a3977c1..7cb60596 100644 --- a/Documentation/docs.rst +++ b/Documentation/docs.rst @@ -1,3 +1,6 @@ +.. contents:: + :local: + ************* Documentation ************* -- cgit v1.2.1