mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-22 23:35:22 +00:00
* fix #16901: sidebar groups now works with all routines, not just proc,func * fix tests
This commit is contained in:
@@ -1245,7 +1245,7 @@ proc genOutFile(d: PDoc, groupedToc = false): Rope =
|
||||
renderTocEntries(d[], j, 1, tmp)
|
||||
var toc = tmp.rope
|
||||
for i in TSymKind:
|
||||
var shouldSort = i in {skProc, skFunc} and groupedToc
|
||||
var shouldSort = i in routineKinds and groupedToc
|
||||
genSection(d, i, shouldSort)
|
||||
toc.add(d.toc[i])
|
||||
if toc != nil:
|
||||
|
||||
Reference in New Issue
Block a user