QuantEcon / jupinx

Jupyter + Sphinx Utilities and Tools
https://quantecon.github.io/jupinx/
20 stars 4 forks source link

Force re-run when only conf.py has changed #99

Closed MaxGhenis closed 4 years ago

MaxGhenis commented 4 years ago

I first ran the quickstart as normal, and then wanted to try it with the notebooks executing via adding jupyter_execute_notebooks = True to conf.py. But re-running jupinx -n . didn't do anything, since no files had changed:

looking for now-outdated files... none found
no targets are out of date.

Is there a way to force jupinx -n to re-build?

MaxGhenis commented 4 years ago

Never mind, I needed to read a bit further!

This will now build notebooks and then execute them for you with results stored in _build/jupyter/executed. You can test this by:

jupinx --clean --notebooks