-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Improve Controllers guide structure and examples #8223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
josbeir
commented
Feb 8, 2026
- Add VitePress callouts for key concepts and summaries
- Introduce code groups for render and redirect variations
- Clarify and tighten wording across controller flow, views, and callbacks
- Replace placeholder redirect snippet with a concrete example
8e983dc to
dfa44e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates the CakePHP Controllers guide to improve readability and scannability by restructuring key sections and adding VitePress-specific presentation components (callouts, details blocks, code groups).
Changes:
- Added VitePress callouts (
tip/info) anddetailsblocks to highlight key concepts and summaries. - Introduced
code-groupblocks forrender()andredirect()variants. - Replaced placeholder redirect/callback snippets with more concrete examples and tightened wording across sections.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Kevin Pfeifer <info@pfiff.me>
Co-authored-by: Kevin Pfeifer <info@pfiff.me>
Co-authored-by: Kevin Pfeifer <info@pfiff.me>