0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-08 19:47:36 +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:
hamki 2026-01-16 05:21:45 +08:00
parent 01554e98cd
commit b9ab482b75
No known key found for this signature in database
GPG Key ID: 092D4EC7F4DECB68

View File

@ -75,4 +75,3 @@ func RenderSidebarTocHTML(headers []Header, lang string) template.HTML {
return template.HTML(sb.String())
}