Build the walk root in New, drop the categories copy, and correct the node and renders comments

This commit is contained in:
2026-09-29 04:34:50 +02:00
committed by Lillem4n
parent d519a61f58
commit c422c9e436
12 changed files with 24 additions and 31 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ func shippedShape(f *Generator) string {
}
}
}
for _, name := range sortedNames(f.categories) {
walk(name, f.categories[name])
for _, name := range sortedNames(f.root.children) {
walk(name, f.root.children[name])
}
var b strings.Builder
for _, p := range f.List() {