-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Improve routing debug page #8313
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
53f499d
to
91724a5
Compare
91724a5
to
63498a0
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.
@atailouloute thanks for this improvement. However, I'd like to ask some changes:
- The Console Style Guide which changed the look of commands output was introduced in 2.8 (https://symfony.com/blog/new-in-symfony-2-8-console-style-guide) so maybe we shouldn't use it here in 2.7 branch.
- We usually don't document the options of console commands (such as
--show-controllers
) because they are hard to maintain in the docs.
In any case, please don't make any change until we know the opinion of the other doc maintainers. Thanks!
I agree with Javier on both issues he raised. |
routing/debug.rst
Outdated
contact_process POST ANY ANY /contact | ||
article_show ANY ANY ANY /articles/{_locale}/{year}/{title}.{_format} | ||
blog ANY ANY ANY /blog/{page} | ||
blog_show ANY ANY ANY /blog/{slug} |
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.
This should be all indented with 4 spaces, in order for it to be included in the code block defined on line 22.
Thanks @atailouloute. |
…luz) This PR was submitted for the 2.7 branch but it was merged into the 2.8 branch instead (closes #8313). Discussion ---------- Improve routing debug page Some small improvement for the routing debug doc (http://symfony.com/doc/2.7/routing/debug.html) Commits ------- 6d62d60 Fixes and simplifications 7b2d5d0 Improve routing debug page
Some small improvement for the routing debug doc (http://symfony.com/doc/2.7/routing/debug.html)