-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Docs] Fixing php-errors in the documentation #11619
Conversation
@@ -31,7 +31,6 @@ Summary | |||
interface: Sylius\Component\Promotion\Model\PromotionRuleInterface | |||
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController | |||
repository: ~ | |||
factory: Sylius\Component\Resource\Factory\Factory |
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 definition is there twice and yaml does not allow that.
253dcd7
to
bae25d9
Compare
docs/components_and_bundles/bundles/SyliusOrderBundle/processors.rst
Outdated
Show resolved
Hide resolved
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.
Thanks a lot for these fixes. Let's change the order processor and it is good to be merged ;)
docs/components_and_bundles/bundles/SyliusOrderBundle/processors.rst
Outdated
Show resolved
Hide resolved
Agreed. You usually want the composite one so I guess this is the best way to document it. |
@mamazu can you rebase to the master, please? |
In the documentation you usually want the composite processor so let's document it that way.
d004766
to
98422f1
Compare
Should be done now. I have also fixed on error that emerged from it. (Apparently sphinx checks if JSON data is parsable but not PHP.) |
) | ||
{ |
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.
) | |
{ | |
) { |
Thanks, @mamazu! 🎉 |
I am currently developing a documentation validator and added an
rst
parser to it. Sylius was the trail run project and this is what I got out of it (fixes are done manually).One thing I am struggling with a little is the
...
situation. Having...
in a documentation is not very helpful, because to me it is saying: "You know what to fill in here". But then why write the documentation in the first place. (eg.SyliusOrderBundle/processors.rst
) So I am not sure about that.