Answer architecture round 3: the generated header names go generate, one sorted-keys helper everywhere, one site constructor, and an inline folder reference refused before anything loads

This commit is contained in:
2026-10-03 17:46:28 +02:00
committed by Lillem4n
parent 3bb8628e39
commit cc8797744b
10 changed files with 32 additions and 42 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ func (u unloadedCategory) load() (categorySite, error) {
return categorySite{}, err
}
delete(u.in.unloaded, u.name)
return categorySite{dir: u.dir, path: join(strings.Join(u.dir, "."), u.name), in: u.in, n: u.in.children[u.name]}, nil
return siteIn(u.dir, u.in, u.name), nil
}
// linkedTables is the tables beside u that link to it or that it links to: its parent, and