diff --git a/doc/extdev/nodes.rst b/doc/extdev/nodes.rst index 77872df4033..5ef669468d7 100644 --- a/doc/extdev/nodes.rst +++ b/doc/extdev/nodes.rst @@ -59,7 +59,6 @@ Special nodes ------------- .. autoclass:: only -.. autoclass:: meta .. autoclass:: highlightlang You should not need to generate the nodes below in extensions. diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index eaa007b1abc..f38e74d8f40 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -12,7 +12,8 @@ from typing import IO, Any, Iterable from urllib.parse import parse_qsl, quote_plus, urlencode, urlsplit, urlunsplit -from sphinx.deprecation import RemovedInSphinx70Warning, deprecated_alias +from sphinx.deprecation import (RemovedInSphinx70Warning, RemovedInSphinx80Warning, + deprecated_alias) from sphinx.errors import ExtensionError, FiletypeNotFoundError from sphinx.locale import __ from sphinx.util import display as _display @@ -391,7 +392,7 @@ def _xml_name_checker(): 'format_exception_cut_frames': _exceptions.format_exception_cut_frames, 'xmlname_checker': _xml_name_checker, }, - RemovedInSphinx70Warning, + RemovedInSphinx80Warning, { 'path_stabilize': 'sphinx.util.osutil.path_stabilize', 'display_chunk': 'sphinx.util.display.display_chunk',