Skip to content

Clarify the add_object_type parse_node callback signature - #14639

Open
jdillard wants to merge 1 commit into
sphinx-doc:masterfrom
jdillard:fix-10991
Open

Clarify the add_object_type parse_node callback signature#14639
jdillard wants to merge 1 commit into
sphinx-doc:masterfrom
jdillard:fix-10991

Conversation

@jdillard

Copy link
Copy Markdown
Member

Purpose

Correct the documentation for Sphinx.add_object_type() to specify that its parse_node callback receives three arguments: the build environment, signature string, and signature node. The previous documentation incorrectly described a two-argument callback.

References

AI Disclosure

AI was used to inspect the implementation and draft the documentation wording. I reviewed and validated the resulting change.

@jdillard jdillard added this to the 9.1.1 milestone Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add_object_type's parse_node doesn't take the good number of arguments

1 participant