Skip to content

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

Closed
gmilde wants to merge 7 commits into
sphinx-doc:masterfrom
gmilde:comment
Closed

gmilde wants to merge 7 commits into
sphinx-doc:masterfrom
gmilde:comment

Conversation

@gmilde

@gmilde gmilde commented Oct 21, 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

There is only one relevant, small commit in this branch.

The others are updates of the "comment" branch and a workaround for
Git re-encoding problems (as proposed by miketheman in #13811 (comment))

@gmilde

gmilde commented Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #14054

@gmilde gmilde closed this Nov 12, 2025
@gmilde
gmilde deleted the comment branch November 12, 2025 19:04
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

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()

1 participant