This commit is contained in:
Takeshi KOMIYA 2017-12-20 00:05:57 +09:00
parent cb5ceeaf99
commit 04995b703f
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ Both APIs parse the content into a given node. They are used like this::
.. deprecated:: 1.7
Since Sphinx-1.6, ``sphinx.ext.autodoc.AutodocReporter`` is used for this purpose.
Until Sphinx-1.6, ``sphinx.ext.autodoc.AutodocReporter`` is used for this purpose.
For now, it is replaced by ``switch_source_input()``.
If you don't need the wrapping node, you can use any concrete node type and

View File

@ -116,7 +116,7 @@ class AutodocReporter(object):
"""
def __init__(self, viewlist, reporter):
# type: (ViewList, Reporter) -> None
warnings.warn('AutodocRerporter is now deprecated. '
warnings.warn('AutodocReporter is now deprecated. '
'Use sphinx.util.docutils.switch_source_input() instead.',
RemovedInSphinx20Warning)
self.viewlist = viewlist