Wasim Lorgat
Wasim Lorgat
Currently, docs rendered locally with `nbdev_preview` have doclinks to nbdev.fast.ai instead of localhost
Here's a quick implementation that I've started using: ```python # nbscript.py from fastcore.script import * from nbprocess.export import nb_export from nbprocess.processors import _hide_dirs from pathlib import Path from runpy import...
Since this is such a thin wrapper, it might be move convenient if this could be achieved by piping `nbprocess_export` to `python`, e.g: ```sh nbprocess_export —stdout script.ipynb | python -...
I don't think it would be too hard to get a working prototype of this with execnb. If anyone would like to take a shot, I'm happy to share pointers....
Just ran into this as well. In my case I was missing `matplotlib`. A simple fix would be to reword the error message. Nicer would be to enable as much...
@921kiyo any thoughts on this?
Congrats @wesselb, great achievement! 😄 I hope you have a super restful break. Please let me know how I can help when you're back
@wesselb glad you had a lovely break. It is indeed working, thank you! 😄
I've reproduced this with a tiny example in quarto (no nbdev), tracking in the quarto repo: - https://github.com/quarto-dev/quarto-cli/issues/2445
IIUC this is a bit of confusion between nbdev and Quarto's processors. When generating documentation, nbdev pre-processes the notebook before Quarto processes it. You can see the nbdev-processed version in...