* fix #16901: sidebar groups now works with all routines, not just proc,func * fix tests
This commit is contained in:
parent
9e1a2e9b63
commit
452366982d
3 changed files with 91 additions and 34 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue