Hi Adrian (and anyone else using and publishing notebooks),
Just for information, you might be interested in the following package:
https://github.com/paulgb/runipy
which makes it easy to run notebooks from the command-line, which is
handy to do before publishing to ensure that all the prompts are
correctly numbered. I have a few PRs open to that package at the
moment which might be handy for the tutorials. If all the datafiles
needed are in the repository, you could even consider using runipy on
Travis.
You might also want to check out the setup.py file in this repository:
https://github.com/astrofrog/py4sci
which contains lecture notes in notebook format. It allows you to do:
python setup.py run # run all notebooks
python setup.py build # convert all notebooks to HTML
python setup.py deploy # upload all notebooks
I originally tried to use Travis, but got annoyed at the delay when
Travis is under heavy load, so I decided that using the deploy command
above is just as easy, and instantaneous.
Cheers,
Tom
> --
> You received this message because you are subscribed to the Google Groups
> "astropy-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
astropy-dev...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.