jckantor / nbpages

Command line tool to maintain a repository of Jupyter notebooks.
https://jckantor.github.io/nbpages/
MIT License
3 stars 4 forks source link

cleanup before write #37

Closed jckantor closed 4 years ago

jckantor commented 4 years ago

The docs directory accumulates unused files after repeated publishing runs. Do a cleanup of

/docs /docs/figures /docs/data

before publish. But don't touch _config.yml or any file listed inside _config.yml

jckantor commented 4 years ago

The code maintains a "clean" destination directory by removing old notebooks, html files, figures and data, before writing new files.