nbdev-mkdocs icon indicating copy to clipboard operation
nbdev-mkdocs copied to clipboard

Inconsistent Behavior with nbdev_docs: `#| eval: false` blocks are still executed!!

Open 2catycm opened this issue 1 year ago • 3 comments

It seems the #| eval: false blocks are executed by nbdev_mkdocs, and it stucks there, since my code block takes a long time to execute.

Currently I don't have Minimum Repreoducable Example, but I failed at this file https://github.com/Open-Book-Studio/THU-Coursework-Machine-Learning-for-Big-Data/blob/main/notebooks/coding_projects/P2_SVM/03svm_kernel_hpo.ipynb

The command stucks at

image

2catycm avatar Dec 01 '24 14:12 2catycm

and nbdev_docs seems work fine at this file

2catycm avatar Dec 01 '24 14:12 2catycm

Hi @2catycm

Thank you for reporting this issue and providing context! I understand how frustrating unexpected tool behaviour can be.

To investigate effectively, a minimal reproducible example (MRE) would be very helpful. It allows us to focus on the core issue without the complexities of a larger project. I understand you don’t have one currently, but even a pared-down notebook isolating the problem would greatly expedite debugging.

harishmohanraj avatar Dec 02 '24 07:12 harishmohanraj

Hi @2catycm

Thank you for reporting this issue and providing context! I understand how frustrating unexpected tool behaviour can be.

To investigate effectively, a minimal reproducible example (MRE) would be very helpful. It allows us to focus on the core issue without the complexities of a larger project. I understand you don’t have one currently, but even a pared-down notebook isolating the problem would greatly expedite debugging.

Thanks for your kind reply. I will try to isolate the notebooks out and try nbdev_mkdocs to see what will happen.

2catycm avatar Dec 02 '24 08:12 2catycm