-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add versiondeprecated admonition #13714
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
base: master
Are you sure you want to change the base?
Add versiondeprecated admonition #13714
Conversation
Is this really worth it? Yes, consistency is nice, but I’ve used all these directives and I’ve never stumbled on the naming; If this is added, I’d at least not deprecate |
Is it needed? No. But it's helpful to have the set of
I agree. That's my intention in only noting it in the docs: I specifically did not want to create busy work for people. |
I'd be happy to add alternative forms with a hyphen, we've done this already for various directive options ( A |
Use e.g. 'version-changed' over 'versionchanged'. While the deprecated admonition is marked as deprecated itself in the docs, we do not do anything at runtime since there is almost zero cost to keeping this relative to the work needed for millions of documents to be updated. All our own uses of the 'deprecated' admonition are switched, with some changed to versionchanged where that makes more sense (typically because an attribute or aspect of a feature was deprecated but not the whole feature itself). Changes to the other admonitions will be kept to a separate commit to keep this one reviewable. Signed-off-by: Stephen Finucane <[email protected]>
Signed-off-by: Stephen Finucane <[email protected]>
ff4146d
to
6e01dbf
Compare
Sure. Done. |
Purpose
For consistency with other version* admonitions. While the deprecated admonition is marked as deprecated itself in the docs, we do not do anything at runtime since there is almost zero cost to keeping this relative to the work needed for millions of documents to be updated.
All our own uses of this admonition are switched, with some changed to versionchanged where that makes more sense (typically because an attribute or aspect of a feature was deprecated but not the whole feature itself).
References