-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Enforce the use of deprecated-removed in docs #92564
Copy link
Copy link
Open
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.9 (EOL)end of lifeend of lifedocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement
In the docs we have two directives that can be used to document deprecations:
deprecatedanddeprecated-removed.I think we should always prefer the latter:
Even if the removal version gets postponed, it's better to postpone than to say that something is deprecated and then just remove it at an unspecified time in the future.
Currently
deprecatedis more commonly used:deprecated-removeddeprecateddirective and replace it withdeprecated-removed