Skip to content

Fix the nested_parse sample code in note section #13455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025

Conversation

koyuki7w
Copy link
Contributor

Purpose

Correct the sample code in the note section, as it appears that self.content_offset should be used as the second argument for nested_parse and the fourth argument for nested_parse_with_title, instead of using 0.

References

koyuki7w and others added 2 commits March 27, 2025 23:49
It seems that `self.content_offset` should be used as the second argument
for `nested_parse` and the fourth argument for `nested_parse_with_title`,
instead of `0`.
@AA-Turner AA-Turner merged commit 491999f into sphinx-doc:master May 13, 2025
7 checks passed
@koyuki7w koyuki7w deleted the patch-1 branch May 13, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants