Skip to content

Commit

Permalink
[docs] fix a typo in markupapi.rst (#12413)
Browse files Browse the repository at this point in the history
  • Loading branch information
rffontenelle authored Jun 6, 2024
1 parent b90482f commit 20ec3bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/extdev/markupapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 20ec3bd

Please sign in to comment.