-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Page Creation Small Changes #10177
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
Page Creation Small Changes #10177
Conversation
…bit confusing to the user with the extra stuff showing on the screen.
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.
I like this a lot! This page was last updated when symfony/skeleton
was used. So, indeed, some of the assumptions are now wrong.
The trickiest part for me is no longer saying you should install Twig. The changes in this PR should be accepted in my opinion. However, it does make things harder for symfony/skeleton
users. I think the best we can do is to add the composer require
lines at the top of the specific topic guides (e.g. the templating.rst
page), but not in these few getting started pages (we should assume website-skeleton all the way).
Thanks @ahinkle!
* 4.1: {% if label is not same as(false) and required %} minor language tweak Update service_container.rst Fix wrong exception used in custom authentication provider example [Console] Replace useless usage of ContainerAwareCommand Shorten ternary operator Fix wrong usage in custom authenticator checking if password is invalid [Process] Fix typo in Process object initialization update hardcoded 5.1 version link Explain dump server usage outside of Symfony Add undocumented sortByAccessedTime, sortByChangedTime and sortByModifiedTime methods in finder component Update bugs.rst [#10200] remove trailing spaces action_method is missing $task variable [#10177] fix markup Clarifying when you need to or don't need to install the server bundle Fix bad link Update setup.rst Also requiring annotations so they can be used
This PR includes changes to the page creation page for the user to easily understand the breakdown and removes unnecessary areas.
Move the Controller tip to the example controller area instead of the annotation route. The hint currently drops unexpectedly to the end user after a routes discussion.
The
profiler-pack
is already included with the Symfony package. Removed composer installation area. Additionally, users may be confused why there is more than one route when it declares "You should see one route" -- added a note on debugging routes.Twig is automatically included with Symfony. No need to direct the user to require and install it with composer.
Shorter, more elegant array syntax on the
render()
example.