Skip to content

Commit 070adf9

Browse files
authored
Merge pull request #158 from chrisjsewell/patch-3
Remove post-transform specific code
2 parents 649be98 + 80719fe commit 070adf9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

jupyter_sphinx/ast.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -455,13 +455,3 @@ def apply(self):
455455
# Remove the outputbundlenode and we'll attach the outputs next
456456
attach_outputs(output_nodes, cell_node, thebe_config)
457457

458-
# Image collect extra nodes from cell outputs that we need to process
459-
for node in self.document.traverse(image):
460-
# If the image node has `candidates` then it's already been processed
461-
# as in-line content, so skip it
462-
if "candidates" in node:
463-
continue
464-
# re-initialize an ImageCollector because the `app` imagecollector instance
465-
# is only available via event listeners.
466-
col = ImageCollector()
467-
col.process_doc(self.app, node)

0 commit comments

Comments
 (0)