-
Notifications
You must be signed in to change notification settings - Fork 385
Update configuration.rst #505
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
|
Please also add them in the corresponding XML code block to keep code snippets in sync. |
|
Hello. You are exactly right. I updated xml example |
|
Hello. Is it okey? |
docs/configuration.rst
Outdated
| sortable="false" | ||
| softdeleteable="false" | ||
| uploadable="false" | ||
| reference_integrity="false" |
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.
XML attributes should use a dash instead of an underscore, to follow the usual XML convention (symfony/config is handling that normalization automatically).
As we don't have an XSD in this bundle, both _ and - will work, but the expected one (the one we would define in XSD if we were adding it) is the -.
docs/configuration.rst
Outdated
| id="default" | ||
| tree="true" | ||
| timestampable="false" | ||
| timestampable="false" <!-- not needed: listeners are not enabled by default --> |
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 is not valid XML. You cannot put a comment in the middle of attributes.
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.
Ok. I want to show extra info. I removed it
Add all extension names in config. It is more convenient for choose which you want enable. I miss this point and spent couple hours for configuring translations.
|
Nice weekend. I fixed PR. It`s ready to merge |
Add all extension names in config. It is more convenient for choose which you want enable. I miss this point and spent couple hours for configuring translations.