-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Summarize Twig integration documentation #4301
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
Comments
We already have the reference for form functions and variables which are also specific to Symfony. So, I don't see why we should not build a general section with all the specific things. 👍 |
We already have such document: http://symfony.com/doc/current/reference/twig_reference.html (except from the commands) |
@wouterj that's exactly what I wanted and couldn't find! Thanks Wouter! I wonder why I failed miserably at finding this article :( A comment about the document: the table layout looks awful because the code is packed and syntax highlighting is missing. Could we update it or you prefer the current compact layout? |
@javiereguiluz while I introduced the table, I do fully agree that it doesn't look great. I've updated the complete twig reference to be a lot nicer and have a lot more usefull information: #4313 |
This PR was merged into the 2.3 branch. Discussion ---------- Improved and fixed twig reference | Q | A | --- | --- | Doc fix? | yes | New docs? | yes | Applies to | 2.3+ | Ficket tickets | #4301 Removed the ugly looking tables and added some more details. Commits ------- ad6b084 Improved and fixed twig reference
Fixed now |
This issue has been created to ask documentation managers and community in general if you think it could be a good idea to summarize somewhere all the Twig features exclusive to Symfony applications.
This information cannot be added to the official Twig documentation so right know most (all?) of the things are dispersed in the Symfony docs. It's not common, but sometimes I've needed the full list of Twig features exclusive for Symfony, so I'd like to add it somewhere.
The idea is not to duplicate the explanations of the doc, but to summarize all these features in a single location. Things we could talk about:
asset()
functionpath()
andurl()
functionapp
global objecttrans
andtranschoice
filterstwig:lint
andtwig:debug
commandsThe text was updated successfully, but these errors were encountered: