Skip to content

Fix docstring of sphinx.util.parsing.nested_parse_to_nodes() - #14054

Merged
AA-Turner merged 4 commits into
sphinx-doc:masterfrom
gmilde:comment2
Nov 30, 2025
Merged

AA-Turner merged 4 commits into
sphinx-doc:masterfrom
gmilde:comment2

Conversation

@gmilde

@gmilde gmilde commented Nov 12, 2025

Copy link
Copy Markdown
Contributor

The utility function sphinx.util.parsing.nested_parse_to_nodes() allows
nested parsing with support for sections.
This is a "power user" feature with known problems and usage restrictions.

Purpose

Inform the user about the risks and limitations when using nested_parse_to_nodes().

References

Notes

This is a re-creation of PR #13981
without the workaround for Git re-encoding problems

Comment thread sphinx/util/parsing.py Resolved
Comment thread sphinx/util/parsing.py Resolved
@AA-Turner

Copy link
Copy Markdown
Member

Very sorry for the delay in reviewing this!!

A

@AA-Turner AA-Turner changed the title Fix docstring of sphinx.util.parsing.nested_parse_to_nodes(). Fix docstring of sphinx.util.parsing.nested_parse_to_nodes() Nov 30, 2025
@AA-Turner
AA-Turner merged commit bec5c49 into sphinx-doc:master Nov 30, 2025
@AA-Turner AA-Turner added this to the 9.0.0 milestone Dec 1, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible data loss with sphinx.util.parsing.nested_parse_to_nodes() misleading docstring for sphinx.util.parsing.nested_parse_to_nodes()

2 participants