Closed AakashGfude closed 5 years ago
thanks @AakashGfude this is looking great. Once you're happy with the PR we can do some testing on the quantecon.build.lectures
pipeline.
This PR fixes: #150
hey @AakashGfude this is going to be great. Thanks! When we compare to quantecon.build.lectures
and get the same output using execution and html conversion within the extension I would like to go ahead and migrate across.
Thanks for all your work on this!
do you know why CI doesn't pass?
do you know why CI doesn't pass?
Has to do with dask. we have to include the installation of dask in the CI pipeline?
ah ok - thanks. We should add that in.
thanks @AakashGfude are you happy to update the CI environment to include dask?
thanks @AakashGfude are you happy to update the CI environment to include dask?
Hey @mmcky I have added dask distributed. It is working fine for Python 3 but was failing for Python 2.7. Have rectified that in my local branch. Will push it first thing tomorrow morning.
thanks @AakashGfude! Are you happy for me to go ahead and merge this? Would you mind documenting this feature in the docs
?
thanks @AakashGfude this is going to be a wonderful feature for the extension. Great Work!. I will merge this now.
Adding a
notebook execution pipeline
to the writer to execute the jupyter notebooks created during the writing phase.1) The executed notebooks are stored in
_build/jupyter/executed/
. 2)dask
is used to execute notebook in parallel. dask processing reports to be saved in_build/jupyter/reports/
3) error reports while executing notebooks are being saved in_build/jupyter/reports/
4) coverage reports to be saved in_build/jupyter/coverage
jupyter_execute_notebooks
config value will be used to enable/disable execution of notebooksjupyter_template_coverage_file_path
config value gives the location of template to be used for coverage reportsjupyter_execute_nb
config value is used for adding default parameters and has the following value insetup
function :-execute_nb_obj = { "no-text" : True, "timeout" : 600, "text_reports" : True, "coverage" : False, }