Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jan 5, 2023
1 parent 2c104e9 commit a2176d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion doc/extdev/nodes.rst
Expand Up @@ -59,7 +59,6 @@ Special nodes
-------------

.. autoclass:: only
.. autoclass:: meta
.. autoclass:: highlightlang

You should not need to generate the nodes below in extensions.
Expand Down
5 changes: 3 additions & 2 deletions sphinx/util/__init__.py
Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit a2176d4

Please sign in to comment.