mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove `sphinx.directives.other.VersionChange
` (#12662)
This commit is contained in:
parent
57a63ea603
commit
772cdfa19d
@ -74,6 +74,12 @@ Incompatible changes
|
||||
Patch by Adam Turner.
|
||||
* #12646: Remove :py:func:`!sphinx.util.inspect.isNewType`.
|
||||
Patch by Adam Turner.
|
||||
* Remove the long-deprecated (since Sphinx 2) alias
|
||||
to :py:class:`!VersionChange` in
|
||||
:py:mod:`!sphinx.directives.other`
|
||||
(Deprecated since Sphinx 2).
|
||||
Use :py:class:`!sphinx.domains.changeset.VersionChange` directly.
|
||||
Patch by Adam Turner.
|
||||
|
||||
Deprecated
|
||||
----------
|
||||
|
@ -929,7 +929,7 @@ The following is a list of deprecated interfaces.
|
||||
* - ``sphinx.directives.VersionChange``
|
||||
- 2.1
|
||||
- 4.0
|
||||
- ``sphinx.directives.other.VersionChange``
|
||||
- ``sphinx.domains.changeset.VersionChange``
|
||||
|
||||
* - ``sphinx.domains.python.PyClassmember``
|
||||
- 2.1
|
||||
@ -1465,10 +1465,10 @@ The following is a list of deprecated interfaces.
|
||||
- 3.0
|
||||
- N/A
|
||||
|
||||
* - ``sphinx.directives.other.VersionChanges``
|
||||
* - ``sphinx.directives.other.VersionChange``
|
||||
- 1.8
|
||||
- 3.0
|
||||
- ``sphinx.domains.changeset.VersionChanges``
|
||||
- ``sphinx.domains.changeset.VersionChange``
|
||||
|
||||
* - ``sphinx.highlighting.PygmentsBridge.unhighlight()``
|
||||
- 1.8
|
||||
|
@ -13,7 +13,6 @@ from docutils.parsers.rst.directives.misc import Include as BaseInclude
|
||||
from docutils.statemachine import StateMachine
|
||||
|
||||
from sphinx import addnodes
|
||||
from sphinx.domains.changeset import VersionChange # NoQA: F401 # for compatibility
|
||||
from sphinx.domains.std import StandardDomain
|
||||
from sphinx.locale import _, __
|
||||
from sphinx.util import docname_join, logging, url_re
|
||||
|
Loading…
Reference in New Issue
Block a user