mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix typo in TocTree warning
This commit is contained in:
@@ -827,7 +827,7 @@ class BuildEnvironment(object):
|
||||
file relations from it.
|
||||
"""
|
||||
warnings.warn('env.note_toctree() is deprecated. '
|
||||
'Use sphinx.environment.adapters.toctre.TocTree instead.',
|
||||
'Use sphinx.environment.adapters.toctree.TocTree instead.',
|
||||
RemovedInSphinx20Warning)
|
||||
TocTree(self).note(docname, toctreenode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user