Repository navigation
Commit a7b2b51
docs: clarify which generators use the attribute syntax (#2510)
The Code Generation guide had an "Attribute syntax" section that read
"Most generators accept a trailing list of name:type pairs" without
naming which ones. Readers reasonably parsed the table that followed
as global-to-all-generators (because it precedes every per-subcommand
Synopsis), then got confused when the table didn't apply to e.g.
generate controller or generate test (issue #2466).
Make the boundary explicit:
- List the four property-aware generators (model, scaffold,
api-resource, property) in the lead paragraph.
- Call out that the other generators take positional args
documented per-subcommand below.
No structural change — every per-subcommand Synopsis already
documented the right arguments. The lead paragraph just makes the
grouping unambiguous.
Resolves #2466.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 8ff6fbc commit a7b2b51
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- web/sites/guides/src/content/docs/v4-0-0-snapshot/command-line-tools/wheels-commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
0 commit comments