We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0614834 commit 5dffe6dCopy full SHA for 5dffe6d
jupyterlite_sphinx/jupyterlite_sphinx.py
@@ -351,13 +351,11 @@ def run(self):
351
# is so that we don't end up removing useful data or directives that
352
# are not meant to be removed.
353
354
- nb = nbformat.read(notebook, as_version=4)
355
- print(f"Opened {notebook_name}")
356
nb = nbformat.read(notebook, as_version=4)
357
nb.cells = [
358
cell
359
for cell in nb.cells
360
- if "true" not in cell.metadata.get("jupyterlite_sphinx_strip", [])
+ if "jupyterlite_sphinx_strip" not in cell.metadata.get("tags", [])
361
]
362
nbformat.write(nb, notebooks_dir, version=4)
363
0 commit comments