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
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 34a0fb3a18 - Show all commits
+2 -2
View File
@@ -114,8 +114,8 @@ func (c config) load() (folder, error) {
// List returns the sorted dotted paths Fake renders: each category and every field, // List returns the sorted dotted paths Fake renders: each category and every field,
// column and linked table below it, a direct descent at a time, listing a level // column and linked table below it, a direct descent at a time, listing a level
// carrying a repeat but nothing below it. A choice consumes no segment, so a path continues through one // carrying a repeat but nothing below it. A choice consumes no segment, so a path
// only where every variant carries it. // continues through one only where every variant carries it.
func (f *Generator) List() []string { func (f *Generator) List() []string {
f.mu.Lock() f.mu.Lock()
defer f.mu.Unlock() defer f.mu.Unlock()
+1 -1
View File
@@ -139,7 +139,7 @@ func HasSelector(segs []string) bool {
func SelectorOf(seg string) string { return seg[1 : len(seg)-1] } func SelectorOf(seg string) string { return seg[1 : len(seg)-1] }
// inSelector is what a selector may not contain: the path grammar reserves brackets and // inSelector is what a selector may not contain: the path grammar reserves brackets and
// braces, and inside a token a quote would end the path and a bar would split the token into arms. // braces, a bar splits a token into arms, and a quote opens a JSON value.
const inSelector = `[]{}"|` const inSelector = `[]{}"|`
// UnspellableInSelector is the first character of s a selector cannot spell, "" where there is none. // UnspellableInSelector is the first character of s a selector cannot spell, "" where there is none.