Skip to content
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

Fix #9240: Unknown node error for pending_xref_condition is raised #9246

Merged

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented May 17, 2021

Feature or Bugfix

  • Bugfix

Purpose

@tk0miya tk0miya added this to the 4.0.2 milestone May 17, 2021
@tk0miya tk0miya force-pushed the 9240_unknown_node_pending_xref_condition branch 4 times, most recently from 21b1eb1 to b7e1c8f Compare May 17, 2021 16:45
… raised

Unknown node error for pending_xref_condition is raised if an extension
that does not support the node installs a missing-reference handler.
@tk0miya tk0miya force-pushed the 9240_unknown_node_pending_xref_condition branch from b7e1c8f to 2d3d668 Compare May 17, 2021 16:55
@tk0miya tk0miya merged commit ca36c9a into sphinx-doc:4.0.x May 19, 2021
@tk0miya tk0miya deleted the 9240_unknown_node_pending_xref_condition branch May 19, 2021 13:47
@@ -10,6 +10,8 @@ Incompatible changes
* #9222: Update Underscore.js to 1.13.1
* #9217: manpage: Stop creating a section directory on build manpage by default
(see :confval:`man_make_section_directory`)
* #9240: Unknown node error for pending_xref_condition is raised if an extension
Copy link
Contributor

@RuRo RuRo May 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tk0miya I just noticed, that you put this in the Incompatible changes section instead of Bugs fixed. Also, this should probably read "Unknown node error for pending_xref_condition is no longer raised if ...".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, it's my wrong...

tk0miya added a commit to tk0miya/sphinx that referenced this pull request May 19, 2021
…doc#9240)

After sphinx-doc#9246, `find_pending_xref_conditions()` should be only called from
intended modules.  At present, the Python Domain is the only module to
call it intendedly.  Therefore, this removes the needless calls of the
utility function from "unintended" modules.
tk0miya added a commit to tk0miya/sphinx that referenced this pull request May 22, 2021
…doc#9240)

After sphinx-doc#9246, `find_pending_xref_conditions()` should be only called from
intended modules.  At present, the Python Domain is the only module to
call it intendedly.  Therefore, this removes the needless calls of the
utility function from "unintended" modules.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 10, 2021
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.

2 participants