fastai / nbdev

Create delightful software with Jupyter Notebooks
https://nbdev.fast.ai/
Apache License 2.0
4.8k stars 484 forks source link

Unable to get docs after adding more copies of 00_core.ipynb #1359

Closed akrishnamo closed 11 months ago

akrishnamo commented 11 months ago

I cloned a new git repo and ran nbdev_new and it works fine.

If I add a new file 01_core.ipynb to the nbs folder and rerun _nbdevprepare, it gives a success message. But it doesn't clear the _nbdevdocs command

image

If I delete the additional file/files, it works, i.e. with just the original 00_core.ipynb file

image

I have tried the following, but nothing works:

  1. clearing all kinds of intermediate files and re-running
  2. copying core.html to _proc/ (just gets deleted when _nbdevdocs is run)
  3. starting with a brand new git repo

Any help/pointers are greatly appreciated.

akrishnamo commented 11 months ago

Maybe a silly question, but fixed if files are named with all different names instead of XX_core. Looks like user error. I hadn't encountered this previously.

akrishnamo commented 11 months ago

User error, closing..