mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 21:47:06 +02:00
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.
This commit is contained in:
1 file changed
-1
@@ -75,4 +75,3 @@ func RenderSidebarTocHTML(headers []Header, lang string) template.HTML {
|
||||
|
||||
return template.HTML(sb.String())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user