From 4680eb0dc57be44d7550d78b9a77b275bfc34923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 11 Jun 2024 21:03:22 +0200 Subject: [PATCH] Document changes in sidebar-tree.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- layouts/partials/sidebar-tree.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index add822c5..f5a34b23 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -1,9 +1,12 @@ {{/* - A modified version of the siderbar-tree.html partial in Docsy to add the ToC. + A modified version of the siderbar-tree.html partial in Docsy, adding: + + * The "toc.html" partial at L45. */}} +{{/* We cache this partial for bigger sites and set the active class client side. */ -}} {{ $sidebarCacheLimit := .Site.Params.ui.sidebar_cache_limit | default 2000 -}} {{ $shouldDelayActive := ge (len .Site.Pages) $sidebarCacheLimit -}}