Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33

Open
lilleman wants to merge 966 commits from worktree-todo-relative-dates-exact-counts into main
3 changed files with 2 additions and 4 deletions
Showing only changes of commit 2e57a38e0b - Show all commits
+1 -1
View File
@@ -78,7 +78,7 @@ func checkNameHeld(t *template, name string, readers []reader) error {
continue continue
} }
if path != "" { if path != "" {
return fmt.Errorf("%s renders %q, which {%s} reads a path into; name the fields you want instead", e.reached(), name, path) return fmt.Errorf("%s reaches %q by a second route, where {%s} holds it to one draw; name the fields you want instead", e.reached(), name, path)
} }
return fmt.Errorf("%s renders %q, which a {%s()} also reads; reach it one way so it is drawn once", e.reached(), name, operandReader(t, name)) return fmt.Errorf("%s renders %q, which a {%s()} also reads; reach it one way so it is drawn once", e.reached(), name, operandReader(t, name))
} }
+1 -1
View File
@@ -356,5 +356,5 @@ func alternatives(a, b surveyAt) bool {
} }
func overlapError(route surveyRoute, ref string, into pathRead) error { func overlapError(route surveyRoute, ref string, into pathRead) error {
return fmt.Errorf("%s renders a level that %s reads a path into; name the fields you want instead, or draw them apart with a drawGroup", route.spelled(ref), into.at.route.spelled(into.a.spelling)) return fmt.Errorf("%s reads whole the reference draw that %s reads a path into; name the fields you want instead, or draw them apart with a drawGroup", route.spelled(ref), into.at.route.spelled(into.a.spelling))
} }
-2
View File
@@ -34,8 +34,6 @@ ranking `readSurvey.walk` and `edge` hardest and the unit they would least modif
This round, in order: This round, in order:
- Word the three overlap refusals apart, `checkNameHeld`'s, `checkNoOverlap`'s and
`overlapError`'s: three seats grepped one message to three fences.
- Compile a format in `format.go`: `linkTemplate` calls `compileFormat` in `node.go`, - Compile a format in `format.go`: `linkTemplate` calls `compileFormat` in `node.go`,
which calls `compileOps` and `holdfence.go`'s two checks, and both architects placed which calls `compileOps` and `holdfence.go`'s two checks, and both architects placed
the step wrong. the step wrong.