summaryrefslogtreecommitdiff
path: root/Documentation/theme/layout.html
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/theme/layout.html
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/theme/layout.html')
-rw-r--r--Documentation/theme/layout.html5
1 files changed, 0 insertions, 5 deletions
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 @@
</header>
<div id="content">
- <div class="local-toc">
- <div class="toc-title">Contents</div>
- {{ toc }}
- </div>
-
{# PAGE CONTENT #}
<div class="block">
{% block body %}{% endblock %}