Set a table's path when it compiles, link a table family in one function, and label a cell from the walk

This commit is contained in:
2026-10-05 21:06:38 +02:00
committed by Lillem4n
parent 21a4ed1795
commit 8ffaa31e39
11 changed files with 88 additions and 105 deletions
+1 -2
View File
@@ -28,7 +28,7 @@ func loadData(sources []datafiles.Source) (map[string]node, error) {
// compileInto compiles each category it is handed into the folder place returns for its Folders.
func compileInto(place func(dir []string) *folder) func(datafiles.Category) error {
return func(c datafiles.Category) error {
n, err := compileCategory(c.JSON, c.Name, c.ReadRows)
n, err := compileCategory(c)
if err != nil {
return err
}
@@ -130,7 +130,6 @@ func categoryBinding(sites []categorySite, root map[string]node) binding {
return binding{
scope: sitesScope(sites),
link: func() error {
setTablePaths(sites)
if err := linkTables(sites); err != nil {
return err
}