I’m trying to run nbdev export for the course script, but it seems that there have been not one but two major version upgrades for nbdev since the last recordings.
First I run into notebook2script not working anymore.
from nbdev.export import notebook2script notebook2script()
Then in the forum I found some help to change this into:
from nbdev.export import nb_export nb_export('app.ipynb', '.')
There are two problems with this:
- I got a warning about
default_expmissing, which I fixed by adding
#|default_exp appat the very top of the script.
- The more important problem is that it just silently executes and doesn’t create any files. No error, no warning now, just no file output.
Can you tell me what is the minimal code required to make an export using nbdev 2?