-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fixed code examples (in 2.0) #1548
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
Hey there! WOW, this is SUPER thorough. It's interesting to see all the small things that have accumulated over the last 18 months :) - thanks for taking the time to go through and normalize so many things. To answer your questions:
And yes, I would love to have your rules from #1531 in the docs - if you make a PR against 2.0, I'll fix up any typos/grammer stuff that there may be :) Thank you very much! |
awesome job @wouterj ! |
Thank you, @cursedcoder and @weaverryan !! I will make a new PR soon with the last fixes ( |
I think it's ok to have them both, we will just prefer the |
Ok, I will add it to rules but I will not change it in the current docs. Do I need make a PR it against |
Actually, we found out that PR's against both seem to be broken - seems that it's anything related to For now, do the work on your local repo and we'll see if it clears up on a couple of days. You can also create an issue that references the branch on your repo - far from perfect, but I don't see another workaround. Thanks! |
Does anyone know why the overview file isn't formatted as expected, what have I done wrong? https://github.com/WouterJ/symfony-docs/blob/fixed_code_example_2/contributing/documentation/overview.rst |
@wouterj is this part of a different PR you're working on or do you see a formatting issue on the live site? Are you getting an error when you compile the docs? |
@weaverryan thank you for you comment. It's part of the 2nd part of this PR and I cannot compile it right now, my PC doesn't have Python installed. I have to wait until tomorrow and then I am going to test it. |
This PR continues #1531
I have merged the upstream 2.0 branch into this branch and fixed the conflicts. I think this is the right way? If it isn't, I will do it the right way (if you can tell me that).
I like to know what you think about these rules:
::
or the codeblock.. code-block::
php for php code?$
before every bash line?And maybe it is an idea to put the 'rules' in the previous PR somewhere inside
contributing/documentation
(with better grammar and spelling)?