This commit is contained in:
Takeshi KOMIYA 2017-12-20 00:11:28 +09:00
parent 25b96b833d
commit 242bf9a38a

View File

@ -124,7 +124,7 @@ Both APIs parse the content into a given node. They are used like this::
.. note:: .. note::
``sphinx.util.docutils.switch_source_input()`` allows to change a target file ``sphinx.util.docutils.switch_source_input()`` allows to change a target file
during nested_parse. It is useful to mixture contents. For example, ``sphinx. during nested_parse. It is useful to mixed contents. For example, ``sphinx.
ext.autodoc`` uses it to parse docstrings:: ext.autodoc`` uses it to parse docstrings::
from sphinx.util.docutils import switch_source_input from sphinx.util.docutils import switch_source_input