airtai / nbdev-mkdocs

Extension to nbdev for generating docs with Material for Mkdocs
https://nbdev-mkdocs.airt.ai
Apache License 2.0
17 stars 2 forks source link

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

Open 2catycm opened 3 days ago

2catycm commented 3 days ago

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 commented 3 days ago

and nbdev_docs seems work fine at this file

harishmohanraj commented 2 days ago

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.

2catycm commented 2 days ago

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.