Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dynamic form modification cookbook: Fix inclusion of code#3698

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 2 commits intosymfony:2.3frommichaelperrin:fix_code_include
Mar 20, 2014

Conversation

michaelperrin
Copy link
Contributor

Unfortunately, reStructuredText doesn't support inclusion of code inside a code block, resulting to non-interpreted code (theinclude keyword is not displayed) as it happens onhttp://symfony.com/doc/2.3/cookbook/form/dynamic_form_modification.html .

I tried in many ways to avoid this, but didn't find any nice way. I had to duplicate code instead.

The PR includes a few minor fixes on code style as well.

Michaël Perrin added2 commitsMarch 20, 2014 14:51
Includes in a code block don't work, replace them with the actual code
@weaverryan
Copy link
Member

Hmm, very unfortunate indeed, but nice catch and thanks for looking into this further Michaël. I guess we'll have to be ok with this little bit of duplication - we have a lot of people keeping an eye out for not forgetting to change everything needed :). Thanks!

weaverryan added a commit that referenced this pull requestMar 20, 2014
… (michaelperrin)This PR was merged into the 2.3 branch.Discussion----------Dynamic form modification cookbook: Fix inclusion of codeUnfortunately, reStructuredText doesn't support inclusion of code inside a code block, resulting to non-interpreted code (the `include` keyword is not displayed) as it happens onhttp://symfony.com/doc/2.3/cookbook/form/dynamic_form_modification.html .I tried in many ways to avoid this, but didn't find any nice way. I had to duplicate code instead.The PR includes a few minor fixes on code style as well.Commits-------1e8b0d4 Small fixes in code style8093719 Dynamic form modification cookbook: Fix inclusion of code
@weaverryanweaverryan merged commit1e8b0d4 intosymfony:2.3Mar 20, 2014
@michaelperrin
Copy link
ContributorAuthor

Yes indeed, I didn't like to have to duplicate code. That will be alright thanks to the active community!

weaverryan added a commit that referenced this pull requestMar 24, 2014
This PR was merged into the 2.3 branch.Discussion----------Fix PSR coding standards error| Q             | A| ------------- | ---| Doc fix?      | yes| New docs?     | no| Applies to    | 2.3| Fixed tickets |Commits-------da2ee60 Fix PSR coding standards error868de1e minor#3698 Dynamic form modification cookbook: Fix inclusion of code  (michaelperrin)acf255d feature#3328 [WIP] Travis integration (WouterJ)5d99d88 [#3697] Backporting 2.3-specific changes1e8b0d4 Small fixes in code style8093719 Dynamic form modification cookbook: Fix inclusion of code37eb137 Update documentation8dec729 sparse checkoutsb6f693e Added CMFb1d9e62 Revert changes6cad008 Updated travis configc515613 Added .gitignore85b1b02 Try to supress bundle doc warningsf3cb8b1 Fixed submodules71a2ff4 Added needed config filesd312683 Added sphinx files
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@michaelperrin@weaverryan

[8]ページ先頭

©2009-2025 Movatter.jp