Commit 01e5f81
committed
documentation #3491 [Turbo] Restructure and standardize the documentation (seb-jean)
This PR was merged into the 3.x branch.
Discussion
----------
[Turbo] Restructure and standardize the documentation
| Q | A
| -------------- | ---
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Documentation? | yes <!-- required for new features, or documentation updates -->
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
Over the past few days, I took the time to thoroughly rework the Symfony UX Turbo documentation to improve its clarity, consistency and quality.
Changes:
- Unify all code examples around a single Task entity thread (controller, form, templates)
- Split the monolithic index.rst into focused sub-pages (`custom-transport`, `multiple-submit-buttons`, `multiple-transports`, `resetting-form`, `testing`, `webpack-encore`)
- Apply Symfony documentation standards
- Add missing namespace, use statements and `#[Route]` attributes in PHP examples
- Fix trailing commas in PHP arrays
- Add "Minimal Frame Layout" section with ``@Turbo`/layouts/frame.html.twig`
- Add "Custom Action" section for `<twig:Turbo:Stream>` and `TurboStreamResponse::action()`
Commits
-------
5257a90 [Turbo] Restructure and standardize the documentation9 files changed
Lines changed: 903 additions & 637 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments