You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PEP4, deprecated is a word used to indicate something may be removed in the future.
Usage of a module may be ‘deprecated’, which means that it may be removed from a future Python release.
The existing sphinx directives versionadded, versionchanged, and deprecated are excellent in reference documentation, but when something deprecated is removed, its not clear what to do without a versionremoved directive. Authoring reference documentation, I'd like to document that something has been around even after it is removed and can't be used any more.
Proposal
I suggest a versionremoved directive is added alongside the other related directives below, together with new documentation alongside versionaddedas seen here.
Background
In PEP4, deprecated is a word used to indicate something may be removed in the future.
The existing sphinx directives
versionadded
,versionchanged
, anddeprecated
are excellent in reference documentation, but when something deprecated is removed, its not clear what to do without aversionremoved
directive. Authoring reference documentation, I'd like to document that something has been around even after it is removed and can't be used any more.Proposal
I suggest a
versionremoved
directive is added alongside the other related directives below, together with new documentation alongsideversionadded
as seen here.sphinx/sphinx/domains/changeset.py
Lines 21 to 31 in d3c91f9
Looking into the details, it seems like this is relevant to update:
versionlabels
andversionlabel_classes
in domains/changeset.pyparagraph of versionchanged
without case sensitivity in the code baseOptions
Sphinx users can patch sphinx via the sphinx extension
sphinx-removed-in
does, from where the proposal stems from - thank you @atodorov, @hroncok, @nicoddemus who have made commits to that project.For
sphinx>=2
, this extension is like adding this to a conf.py file:The text was updated successfully, but these errors were encountered: