LGTM! 2021年2月27日(土) 21:48 Anton Akhmerov <[email protected]>: > > Hello everyone, > > I would like to render a bundle of outputs generated by Jupyter, all > representing the same object. Some outputs are better suited for HTML and > some for pdf. So the overall logic that I want to implement is "given this > list of different representations of an object, include the one that is best > suited to a specific sphinx builder. > > Because I want to choose the highest priority node out of a list, the > decision cannot be made by examining a single sphinx node. My proposed > solution is drafted here. Implement a MimeBundleNode, which modifies the walk > and walkabout methods of a node to "pretend" only contained the highest > priority child. > > While it seems to work™, not being closely familiar with sphinx, I have an > uneasy feeling that I'm doing something that I'm not supposed to do. Is there > some subtlety that I overlook? Is there a better implementation? > > Thanks in advance, > Anton > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/8ef55217-88a1-4af3-8d36-fd7d0a4bcb79n%40googlegroups.com.
-- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQAOhhvRv1dNT74s47%3Dr4R-5gbMgOveHWcwBRynCwnYP0Sw%40mail.gmail.com.
