Skip to content

Updated some console commands #12078

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

Merged
merged 1 commit into from
Aug 2, 2019

Conversation

javiereguiluz
Copy link
Member

This makes two changes:

  • I was told on Symfony Slack that using c:\> is wrong for Windows. Better use > (even if you have run a cd ... command before)
  • On symfony.com the console decoration changes depending on your operating system. But in the docs, some commands are only for Windows or only for Linux/macOS. In those special cases, we cannot change the console decoration, so let's apply a CSS class to tell that they are Windows-only or Linux-only commands.

@javiereguiluz javiereguiluz added this to the 3.4 milestone Aug 2, 2019
@javiereguiluz
Copy link
Member Author

As you can see in https://pr-12078-jjvhw7y-nq3xa5jtywvyc.eu.s5y.io/setup.html, this worked ... but the CSS classes are modified a bit. So, let's replace the double dash by a single dash:

image

@javiereguiluz javiereguiluz merged commit bd50c9a into symfony:3.4 Aug 2, 2019
javiereguiluz added a commit that referenced this pull request Aug 2, 2019
This PR was squashed before being merged into the 3.4 branch (closes #12078).

Discussion
----------

Updated some console commands

This makes two changes:

* I was told on Symfony Slack that using `c:\>` is wrong for Windows. Better use `>` (even if you have run a `cd ...` command before)
* On symfony.com the console decoration changes depending on your operating system. But in the docs, some commands are only for Windows or only for Linux/macOS. In those special cases, we cannot change the console decoration, so let's apply a CSS class to tell that they are Windows-only or Linux-only commands.

Commits
-------

bd50c9a Updated some console commands
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.

4 participants