-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Account for nodes without children in Texinfo's ignores #12389
Conversation
This prevented compilation of the pytorch tutorial at https://github.com/pytorch/tutorials, with the latest master.
I assume that this is something unrelated to us. In which case did pytorch create reference nodes without children? (I would like to know whether it's an assumption on the references nodes, because a reference node usually have a content (to display) but I don't remember if we had "fake" nodes for location-only purposes). |
Here's the trace:
I confess I don't know much about the Sphinx code, but would it make sense to leave this in in the interest of robustness? |
I've checked other builders and the LaTeX builder for instance checks that the child exists before checking its type. So I agree that it's an issue for the TexInfo builder, unless the latter must assume that reference nodes must have children which I don't think it is. |
Thank you! |
Subject: Account for nodes without children in Texinfo's ignores
Feature or Bugfix
Purpose
Detail
Relates