From b9ab482b75daf2741dc22ef02cfb17a36e42972c Mon Sep 17 00:00:00 2001 From: hamki Date: Fri, 16 Jan 2026 05:21:45 +0800 Subject: [PATCH] refactor: clean up sidebar TOC structure comments - Update comments in RenderContext to clarify the deprecation of SidebarTocNode in favor of SidebarTocHeaders. - Remove unnecessary blank line in RenderSidebarTocHTML function for improved code readability. --- modules/markup/sidebar_toc.go | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/markup/sidebar_toc.go b/modules/markup/sidebar_toc.go index f2e4a59cc4..441e540d6a 100644 --- a/modules/markup/sidebar_toc.go +++ b/modules/markup/sidebar_toc.go @@ -75,4 +75,3 @@ func RenderSidebarTocHTML(headers []Header, lang string) template.HTML { return template.HTML(sb.String()) } -