Differ clean for scrims routes; cookbook and manifest updates

This commit is contained in:
Kalle
2026-08-17 19:09:28 +03:00
parent 2d4592ee79
commit e3c33de056
29 changed files with 231 additions and 103 deletions

View File

@@ -92,9 +92,11 @@ async function buildCensus(): Promise<CensusRow[]> {
const walk = (entries: RouteEntry[], parentPath: string) => {
for (const entry of entries) {
const fullPath = entry.index
? parentPath
: joinPaths(parentPath, entry.path);
// an index entry inside `prefix()` carries the prefix as its own path
const fullPath =
entry.path !== undefined
? joinPaths(parentPath, entry.path)
: parentPath;
if (entry.children) {
walk(entry.children, fullPath);