fastai / nbdev

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

nbdev_readme only generates README in `docs` folder and not in main folder #1329

Open gorkamunoz opened 1 year ago

gorkamunoz commented 1 year ago

Hi, I am using the nbdev_readme command to generate the README file from index.ipynb. My repo looks as following (simplified):

.
├── nbs/ 
│   └── index.ipynb     
├── _proc/
│   └── docs/
│       └── README.md
├──  settings.ini
├──  setup.py
└──  README.md

The problem I encounter is that when running nbdev_readme, only the README.md from _proc/docs/ is updated, and not the one in the main folder. This is what I get as terminal output:

image

I am doing something wrong or is this intended? What can I change to have the automatic README update from the main folder?

Thanks!

deven367 commented 7 months ago

@gorkamunoz It is intended functionality. The nbdev_readme command should also update the readme at the root level of your repo.