danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
362 stars 45 forks source link

Prevent execution of specific cell #181

Open lmanan opened 6 months ago

lmanan commented 6 months ago

Hi @danielfrg

Thanks for this very cool resource and for providing nice documentation! I understand that one can prevent the execution of certain notebooks by execute_ignore. Is there a way currently to prevent the execution of specific cells in the notebook (for example, one may not want to execute the cell responsible for initiating the model training and showing the complete training history)?

Thanks in advance!

lmanan commented 6 months ago

I am guessing this is similar to the related issue but not the same maybe, since the cell is not executed as opposed to the output being hidden?