summaryrefslogtreecommitdiff
path: root/Documentation/docs.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-17 03:50:23 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-23 17:41:09 +0300
commit33ae55c3cdfe78de2e5c9e53c95eb35cc6f3e068 (patch)
tree49ec67dcc737f437bcfee061757eaf14891a524c /Documentation/docs.rst
parentdd84815d61fe8c306ac799985ae9f2683741c49a (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/docs.rst')
-rw-r--r--Documentation/docs.rst3
1 files changed, 3 insertions, 0 deletions
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
*************