mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
[docs] fix a typo in `markupapi.rst` (#12413)
This commit is contained in:
committed by
GitHub
parent
b90482fc81
commit
20ec3bd69d
@@ -124,8 +124,8 @@ Both APIs parse the content into a given node. They are used like this::
|
||||
.. note::
|
||||
|
||||
``sphinx.util.docutils.switch_source_input()`` allows to change a target file
|
||||
during nested_parse. It is useful to mixed contents. For example, ``sphinx.
|
||||
ext.autodoc`` uses it to parse docstrings::
|
||||
during nested_parse. It is useful to mixed contents.
|
||||
For example, ``sphinx.ext.autodoc`` uses it to parse docstrings::
|
||||
|
||||
from sphinx.util.docutils import switch_source_input
|
||||
|
||||
|
||||
Reference in New Issue
Block a user