[docs] fix a typo in `markupapi.rst` (#12413)

This commit is contained in:
Rafael Fontenelle
2024-06-06 07:52:31 -03:00
committed by GitHub
parent b90482fc81
commit 20ec3bd69d

View File

@@ -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