Skip to content

Commit a2176d4

Browse files
committed
Fix deprecation warnings
1 parent 2c104e9 commit a2176d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/extdev/nodes.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ Special nodes
5959
-------------
6060

6161
.. autoclass:: only
62-
.. autoclass:: meta
6362
.. autoclass:: highlightlang
6463

6564
You should not need to generate the nodes below in extensions.

sphinx/util/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
from typing import IO, Any, Iterable
1313
from urllib.parse import parse_qsl, quote_plus, urlencode, urlsplit, urlunsplit
1414

15-
from sphinx.deprecation import RemovedInSphinx70Warning, deprecated_alias
15+
from sphinx.deprecation import (RemovedInSphinx70Warning, RemovedInSphinx80Warning,
16+
deprecated_alias)
1617
from sphinx.errors import ExtensionError, FiletypeNotFoundError
1718
from sphinx.locale import __
1819
from sphinx.util import display as _display
@@ -391,7 +392,7 @@ def _xml_name_checker():
391392
'format_exception_cut_frames': _exceptions.format_exception_cut_frames,
392393
'xmlname_checker': _xml_name_checker,
393394
},
394-
RemovedInSphinx70Warning,
395+
RemovedInSphinx80Warning,
395396
{
396397
'path_stabilize': 'sphinx.util.osutil.path_stabilize',
397398
'display_chunk': 'sphinx.util.display.display_chunk',

0 commit comments

Comments
 (0)