Commit a6bd04c
docs: input shapes use the 2.0 field names
The three patterns were lifted from v1's README verbatim, v1 vocabulary
included, so a page teaching given/family described its input shapes in
first/middle/last. That undercuts the rename the API is built on.
Restoring the names also recovered detail the first pass had trimmed:
v1's forms distinguish a comma that separates the family name (form 2,
family-first) from a comma that only sets off suffixes (form 3, still
given-then-family). That distinction is the whole reason both forms are
listed, so it is now stated and pinned with a third doctest. The
nickname and pre-comma suffix slots are back in the patterns too, the
latter matching the "Doe Jr., John" example already there.
Checked the rest of the 2.0 docs for the same slip; this was the only
occurrence outside migrate.rst, where v1 names are the subject.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4dd99c1 commit a6bd04c
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
0 commit comments