Answer prose round 1: errNoData, the reads paragraph and the changelog entry read in one pass, the Library section shows the import block for one locale, and the decisions state why New checks no reads and which goal the embed serves

This commit is contained in:
2026-10-10 13:33:26 +02:00
committed by Lillem4n
parent 4caea56663
commit 7f7d260f83
10 changed files with 50 additions and 40 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ func resolveTemplates(ts []templateSite, root map[string]node) error {
return nil
}
// withDefaultModules adds to err, where a reference of a category names nothing, the modules
// the category's source reads by default, or that it names none.
// Where err is a category's reference finding nothing, withDefaultModules adds the modules the
// category's source reads by default, or says it reads none.
func (s templateSite) withDefaultModules(err error) error {
var ne noEntry
if s.category == nil || !errors.As(err, &ne) {