[RFC][Proof PR] use "deprecated" and "versionchanged" directives #11154
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have a small proposal regarding the
versionadded
directives. We are using this directive fornew stuff
,deprecated stuff
and we are using it for example fornew/changed stuff regarding other librariers
(for example Swiftmailer, Webpack, Twig etc.)If I read this correct, RST supports the following directives out of the box:
.. versionadded::
(for sure),.. versionchanged::
and.. deprecated::
:https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html?highlight=versionadded
My proposal: use
versionadded
only for new Symfony stuff, useversionchanged
as versionadded, but only for external libs/projects and do not useversionadded
for deprecations anymore, lets use thedeprecated
directive.This PR shows, that the build is 💚 , the only thing left is to check the final markup, if it fits the Symfony website style.
.. deprecated::
-> Use the ".. deprecated::" directive for deprecations #11178.. versionchanged::
What do you think?