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/theme/layout.html | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Documentation/theme/layout.html') diff --git a/Documentation/theme/layout.html b/Documentation/theme/layout.html index a5cc2776..139c39c7 100644 --- a/Documentation/theme/layout.html +++ b/Documentation/theme/layout.html @@ -100,11 +100,6 @@
-
-
Contents
- {{ toc }} -
- {# PAGE CONTENT #}
{% block body %}{% endblock %} -- cgit v1.2.1