Skip to content

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

Closed

Conversation

atailouloute
Copy link
Contributor

Some small improvement for the routing debug doc (http://symfony.com/doc/2.7/routing/debug.html)

@atailouloute atailouloute changed the base branch from master to 2.7 August 29, 2017 09:23
@atailouloute atailouloute force-pushed the routing-debug-improvements branch from 53f499d to 91724a5 Compare August 29, 2017 09:39
@atailouloute atailouloute force-pushed the routing-debug-improvements branch from 91724a5 to 63498a0 Compare August 29, 2017 09:40
Copy link
Member

@javiereguiluz javiereguiluz left a 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:

  1. 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.
  2. 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!

@xabbuh
Copy link
Member

xabbuh commented Sep 1, 2017

I agree with Javier on both issues he raised.

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}
Copy link
Member

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.

@javiereguiluz javiereguiluz added this to the 2.8 milestone Jan 3, 2018
@javiereguiluz
Copy link
Member

Thanks @atailouloute.

javiereguiluz added a commit that referenced this pull request Jan 3, 2018
…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
@atailouloute atailouloute deleted the routing-debug-improvements branch January 3, 2018 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants